@Test public void findAll() { List<BreakTime> expected = Arrays.asList(validBreakTime, notValidBreakTime); when(breakTimeRepo.findAll()).thenReturn(expected); assertEquals(expected, breakTimeService.findAll()); }
@Override public List<BreakTime> findAll() { log.info(LogMessage.IN_FIND_ALL); return repo.findAll(); }
BreakTimeServiceImpl implements BreakTimeService { @Override public List<BreakTime> findAll() { log.info(LogMessage.IN_FIND_ALL); return repo.findAll(); } }
BreakTimeServiceImpl implements BreakTimeService { @Override public List<BreakTime> findAll() { log.info(LogMessage.IN_FIND_ALL); return repo.findAll(); }  }
BreakTimeServiceImpl implements BreakTimeService { @Override public List<BreakTime> findAll() { log.info(LogMessage.IN_FIND_ALL); return repo.findAll(); }  @Override BreakTime save(BreakTime breakTime); @Override BreakTime findById(Long id); @Override Long deleteById(Long id); @Override List<BreakTime> findAll(); }
BreakTimeServiceImpl implements BreakTimeService { @Override public List<BreakTime> findAll() { log.info(LogMessage.IN_FIND_ALL); return repo.findAll(); }  @Override BreakTime save(BreakTime breakTime); @Override BreakTime findById(Long id); @Override Long deleteById(Long id); @Override List<BreakTime> findAll();  }