}
@Test
public void testDeleteAll() throws WPISuiteException {
Defect anotherDefect = new Defect(-1, "a title", "a description", existingUser);
manager.makeEntity(defaultSession, anotherDefect.toJSON());
assertEquals(2, db.retrieveAll(new Defect(), testProject).size());
manager.deleteAll(adminSession);
assertEquals(0, db.retrieveAll(new Defect(), testProject).size());
// otherDefect should still be around
assertEquals(1, db.retrieveAll(new Defect(), otherProject).size());