@Test public void shouldGetById() throws Exception { repository.getById(9L); verify(mapper).getById(9L); }
public MaintenanceLog getById(Long id){ return mapper.getById(id); }
MaintenanceLogRepository { public MaintenanceLog getById(Long id){ return mapper.getById(id); } }
MaintenanceLogRepository { public MaintenanceLog getById(Long id){ return mapper.getById(id); }  }
MaintenanceLogRepository { public MaintenanceLog getById(Long id){ return mapper.getById(id); }  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 MaintenanceLog getById(Long id){ return mapper.getById(id); }  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);  }