@Test public void shouldInsert() throws Exception { MaintenanceLog log = new MaintenanceLog(); repository.insert(log); verify(mapper).insert(log); }
public void insert(MaintenanceLog value){ mapper.insert(value); }
MaintenanceLogRepository { public void insert(MaintenanceLog value){ mapper.insert(value); } }
MaintenanceLogRepository { public void insert(MaintenanceLog value){ mapper.insert(value); }  }
MaintenanceLogRepository { public void insert(MaintenanceLog value){ mapper.insert(value); }  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 void insert(MaintenanceLog value){ mapper.insert(value); }  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);  }