@Test public void testIsolated() { store.remove(Filter.INCLUDE); ExecutionStatus status = new ExecutionStatus(new NameImpl("test"), "abcde", false); store.save(status); List<ExecutionStatus> statuses = store.list(Query.ALL); assertEquals(1, statuses.size()); assertEquals("incorrect status", status, statuses.get(0)); assertNotSame(status, statuses.get(0)); }
/** Puts all the test statuses in the store */ protected void fillStore() { store.save(s1); store.save(s2); store.save(s3); store.save(s4); }