1 3 package test.jmock.core.constraint; 4 5 import org.jmock.core.constraint.IsNot; 6 7 8 public class IsNotTest extends AbstractConstraintsTest 9 { 10 public void testEvaluatesToTheTheLogicalNegationOfAnotherConstraint() { 11 assertFalse(new IsNot(TRUE_CONSTRAINT).eval(ARGUMENT_IGNORED)); 12 assertTrue(new IsNot(FALSE_CONSTRAINT).eval(ARGUMENT_IGNORED)); 13 } 14 } 15 | Popular Tags |