public void GenericImplicitImplementationClosure2PostNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); string[] x = new string[] { "abcd", "defg" }; j.WithClosureObject(x, false); }
public void GenericImplicitImplementationClosure2PostNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); string[] x = new string[] { "abcd", "defg" }; Assert.Throws <TestRewriterMethods.PostconditionException>(() => j.WithClosureObject(x, false)); }