@Test public void shouldUpdate() throws Exception { MaintenanceRequest request = new MaintenanceRequest(); repository.update(request); verify(mapper).update(request); }
public void update(MaintenanceRequest value){ mapper.update(value); }
MaintenanceRequestRepository { public void update(MaintenanceRequest value){ mapper.update(value); } }
MaintenanceRequestRepository { public void update(MaintenanceRequest value){ mapper.update(value); }  }
MaintenanceRequestRepository { public void update(MaintenanceRequest value){ mapper.update(value); }  MaintenanceRequest getById(Long id); List<MaintenanceRequest> getAllForFacility(Long facilityId); List<MaintenanceRequest> getAllForVendor(Long vendorId); List<MaintenanceRequest> getOutstandingForVendor(Long vendorId); List<MaintenanceRequest> getOutstandingForUser(Long userId); List<MaintenanceRequest> getAll(); void insert(MaintenanceRequest value); void update(MaintenanceRequest value); List<Log> getFullHistory(Long inventoryId); }
MaintenanceRequestRepository { public void update(MaintenanceRequest value){ mapper.update(value); }  MaintenanceRequest getById(Long id); List<MaintenanceRequest> getAllForFacility(Long facilityId); List<MaintenanceRequest> getAllForVendor(Long vendorId); List<MaintenanceRequest> getOutstandingForVendor(Long vendorId); List<MaintenanceRequest> getOutstandingForUser(Long userId); List<MaintenanceRequest> getAll(); void insert(MaintenanceRequest value); void update(MaintenanceRequest value); List<Log> getFullHistory(Long inventoryId);  }