예제 #1
0
        public void NonGenericImplicitImplementationClosurePostNegative()
        {
            IGenericInterface <string> j = new NonGenericImplicitImpl();

            string[] x = new string[] { "abcd", "defg" };
            j.WithStaticClosure(x, false);
        }
예제 #2
0
        public void NonGenericImplicitImplementationClosurePostNegative()
        {
            IGenericInterface <string> j = new NonGenericImplicitImpl();

            string[] x = new string[] { "abcd", "defg" };
            Assert.Throws <TestRewriterMethods.PostconditionException>(() => j.WithStaticClosure(x, false));
        }