public void NonGenericImplicitImplementationClosurePostNegative()
        {
            IGenericInterface <string> j = new NonGenericImplicitImpl();

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

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