public void GenericImplicitImplementationPostNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); j.M("abcd", false); }
public void GenericImplicitImplementationPostNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); Assert.Throws <TestRewriterMethods.PostconditionException>(() => j.M("abcd", false)); }
public void GenericImplicitImplementationPreNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); j.M(null, true); }
public void GenericImplicitImplementationPreNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); Assert.Throws <TestRewriterMethods.PreconditionException>(() => j.M(null, true)); }