1 package junitx.extensions; 2 3 7 public class ComparabilityTestCaseTest 8 extends ComparabilityTestCase { 9 10 public ComparabilityTestCaseTest(String name) { 11 super(name); 12 } 13 14 protected Comparable createLessInstance() { 15 return new Foo(1); 16 } 17 18 protected Comparable createEqualInstance() { 19 return new Foo(2); 20 } 21 22 protected Comparable createGreaterInstance() { 23 return new Foo(3); 24 } 25 26 } 27 | Popular Tags |