01: package net.sf.mockcreator.expectable;
02:
03: import net.sf.mockcreator.TestCase;
04: import net.sf.mockcreator.expectable.Ignore;
05:
06: public class IgnoreTest extends TestCase {
07:
08: public IgnoreTest(String name) {
09: super (name);
10: }
11:
12: public void testNull() {
13: Ignore ig = new Ignore();
14: assertTrue(ig.isExpected(null));
15: }
16:
17: public void testAny() {
18: Ignore ig = new Ignore();
19: assertTrue(ig.isExpected(new Long(100)));
20: }
21: }
|