1 3 package test.jmock.core.testsupport; 4 5 import org.jmock.core.Constraint; 6 7 8 public class AlwaysFalse implements Constraint 9 { 10 public static AlwaysFalse INSTANCE = new AlwaysFalse(); 11 12 public boolean eval( Object o ) { 13 return false; 14 } 15 16 public StringBuffer describeTo( StringBuffer buffer ) { 17 return buffer.append("always false"); 18 } 19 } 20 | Popular Tags |