Ejemplo n.º 1
0
        public void InvokeMemberContainsNameWithImpromptuInterface()
        {
            var clay   = new Clay(new TestBehavior()).ActLike <ISimpeleClassMeth>();
            var result = clay.Action3();

            Assert.IsTrue(result.Contains("[name:Action3]"), "Does Not Match Argument Name");
            Assert.IsTrue(result.Contains("[count:0]"), "Does Not Match Argument Count");
        }
Ejemplo n.º 2
0
        public void InvokeMemberContainsNameWithImpromptuInterface()
        {
            var clay = new Clay(new TestBehavior()).ActLike<ISimpeleClassMeth>();
            var result = clay.Action3();
            Assert.IsTrue(result.Contains("[name:Action3]"), "Does Not Match Argument Name");
            Assert.IsTrue(result.Contains("[count:0]"), "Does Not Match Argument Count");

        }