@Test public void shouldInsert(){ ELMISInterface it = new ELMISInterface(); repository.insert(it); verify(mapper).insert(it); }
public void insert(ELMISInterface elmisInterface) { mapper.insert(elmisInterface); }
ELMISInterfaceRepository { public void insert(ELMISInterface elmisInterface) { mapper.insert(elmisInterface); } }
ELMISInterfaceRepository { public void insert(ELMISInterface elmisInterface) { mapper.insert(elmisInterface); }  }
ELMISInterfaceRepository { public void insert(ELMISInterface elmisInterface) { mapper.insert(elmisInterface); }  ELMISInterface get(long interfaceId); void insert(ELMISInterface elmisInterface); void update(ELMISInterface elmisInterface); void updateELMISInterfaceDataSets(ELMISInterface elmisInterface); List<ELMISInterface> getAllInterfaces(); List<ELMISInterfaceFacilityMapping> getInterfaceFacilityMappings(); List<ELMISInterfaceFacilityMapping> getFacilityInterfaceMappingById(Long facilityId); List<ELMISInterface> getAllActiveInterfaces(); void updateFacilityInterfaceMapping(Facility facility); }
ELMISInterfaceRepository { public void insert(ELMISInterface elmisInterface) { mapper.insert(elmisInterface); }  ELMISInterface get(long interfaceId); void insert(ELMISInterface elmisInterface); void update(ELMISInterface elmisInterface); void updateELMISInterfaceDataSets(ELMISInterface elmisInterface); List<ELMISInterface> getAllInterfaces(); List<ELMISInterfaceFacilityMapping> getInterfaceFacilityMappings(); List<ELMISInterfaceFacilityMapping> getFacilityInterfaceMappingById(Long facilityId); List<ELMISInterface> getAllActiveInterfaces(); void updateFacilityInterfaceMapping(Facility facility);  }