@Test public void shouldUpdateFacilityFtpDetails() throws Exception { FacilityFtpDetails facilityFtpDetails = mock(FacilityFtpDetails.class); service.update(facilityFtpDetails); verify(repository).update(facilityFtpDetails); }
public void update(FacilityFtpDetails facilityFtpDetails) { repository.update(facilityFtpDetails); }
FacilityFtpDetailsService { public void update(FacilityFtpDetails facilityFtpDetails) { repository.update(facilityFtpDetails); } }
FacilityFtpDetailsService { public void update(FacilityFtpDetails facilityFtpDetails) { repository.update(facilityFtpDetails); }  }
FacilityFtpDetailsService { public void update(FacilityFtpDetails facilityFtpDetails) { repository.update(facilityFtpDetails); }  void save(FacilityFtpDetails facilityFtpDetails); void update(FacilityFtpDetails facilityFtpDetails); void insert(FacilityFtpDetails facilityFtpDetails); FacilityFtpDetails getByFacilityCode(Facility facility); FacilityFtpDetails getByFacilityId(Facility facility); }
FacilityFtpDetailsService { public void update(FacilityFtpDetails facilityFtpDetails) { repository.update(facilityFtpDetails); }  void save(FacilityFtpDetails facilityFtpDetails); void update(FacilityFtpDetails facilityFtpDetails); void insert(FacilityFtpDetails facilityFtpDetails); FacilityFtpDetails getByFacilityCode(Facility facility); FacilityFtpDetails getByFacilityId(Facility facility);  }