@Test public void shouldGetAllReasons() throws Exception { service.getAllReasons(); verify(repository).getAllReasons(); }
public List<DiscardingReason> getAllReasons(){ return repository.getAllReasons(); }
DiscardingReasonsService { public List<DiscardingReason> getAllReasons(){ return repository.getAllReasons(); } }
DiscardingReasonsService { public List<DiscardingReason> getAllReasons(){ return repository.getAllReasons(); }  }
DiscardingReasonsService { public List<DiscardingReason> getAllReasons(){ return repository.getAllReasons(); }  List<DiscardingReason> getAllReasons(); }
DiscardingReasonsService { public List<DiscardingReason> getAllReasons(){ return repository.getAllReasons(); }  List<DiscardingReason> getAllReasons();  }