Boo.Lang.Runtime.Tests.RuntimeCoercionTestCase.TestICoercible C# (CSharp) Метод

TestICoercible() приватный Метод

private TestICoercible ( ) : void
Результат void
        public void TestICoercible()
        {
            Coercible c = new Coercible();
            Assert.AreSame(c, Coerce(c, typeof (string)));
            Assert.AreSame(c, Coerce(c, typeof (int)));

            Assert.AreEqual(new List(new object[] { typeof(string), typeof(int) }), c.Invocations);
        }