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