30313233343536
public abstract class ValueTestCase extends TestCase { protected void setUp() throws Exception { Logger.getRootLogger().setLevel(Level.OFF); // new MockObjectSpecificationLoader(); new TestClock(); }
3132333435363738
private Date actual; protected void setUp() throws Exception { Logger.getRootLogger().setLevel(Level.OFF); Date.setClock(new TestClock()); actual = new Date(2000, 2, 1); }