@Test public void shouldGetAll() throws Exception { repository.getAll(); verify(mapper).getAll(); }
public List<MaintenanceLog> getAll(){ return mapper.getAll(); }
MaintenanceLogRepository { public List<MaintenanceLog> getAll(){ return mapper.getAll(); } }
MaintenanceLogRepository { public List<MaintenanceLog> getAll(){ return mapper.getAll(); }  }
MaintenanceLogRepository { public List<MaintenanceLog> getAll(){ return mapper.getAll(); }  MaintenanceLog getById(Long id); List<MaintenanceLog> getAllForFacility(Long facilityId); List<MaintenanceLog> getAllForVendor(Long vendorId); List<MaintenanceLog> getAll(); void insert(MaintenanceLog value); void update(MaintenanceLog value); }
MaintenanceLogRepository { public List<MaintenanceLog> getAll(){ return mapper.getAll(); }  MaintenanceLog getById(Long id); List<MaintenanceLog> getAllForFacility(Long facilityId); List<MaintenanceLog> getAllForVendor(Long vendorId); List<MaintenanceLog> getAll(); void insert(MaintenanceLog value); void update(MaintenanceLog value);  }