@Test
  public void findAll() {
    List<BatchList> foundList = repository.findAll();

    assertThat(batchList.getId(), is(foundList.get(0).getId()));
  }
 @Override
 public List<BatchList> findAll() {
   return repository.findAll();
 }
 @Before
 public void setup() {
   batchList = newBatchList();
   repository.persist(batchList);
 }
 @Override
 public void persist(BatchList batchList) {
   repository.persist(batchList);
 }