assertTrue(savedSprints.isEmpty());
}
public void testSaveAllRemoveAll() throws Exception {
Sprint sprint1 = new Sprint(
new TenantId("12345"), new ProductId("p00000"), new SprintId("s11111"),
"sprint1", "My sprint 1.", new Date(), new Date());
Sprint sprint2 = new Sprint(
new TenantId("12345"), new ProductId("p00000"), new SprintId("s11112"),
"sprint2", "My sprint 2.", new Date(), new Date());
Sprint sprint3 = new Sprint(
new TenantId("12345"), new ProductId("p00000"), new SprintId("s11113"),
"sprint3", "My sprint 3.", new Date(), new Date());
LevelDBUnitOfWork.start(this.database);
sprintRepository.saveAll(Arrays.asList(new Sprint[] { sprint1, sprint2, sprint3 }));
LevelDBUnitOfWork.current().commit();