@Test public void shouldInsertISA() throws Exception { Long facilityId = 100L; ProgramProductISA programProductISA = new ProgramProductISA(); repository.insertISA(facilityId, programProductISA); verify(fppMapper).insertISA(facilityId, programProductISA); }
@Transactional public void insertISA(Long facilityId, ProgramProductISA isa) { fppMapper.insertISA(facilityId, isa); }
FacilityProgramProductRepository { @Transactional public void insertISA(Long facilityId, ProgramProductISA isa) { fppMapper.insertISA(facilityId, isa); } }
FacilityProgramProductRepository { @Transactional public void insertISA(Long facilityId, ProgramProductISA isa) { fppMapper.insertISA(facilityId, isa); }  }
FacilityProgramProductRepository { @Transactional public void insertISA(Long facilityId, ProgramProductISA isa) { fppMapper.insertISA(facilityId, isa); }  @Transactional void insertISA(Long facilityId, ProgramProductISA isa); void updateISA(ProgramProductISA programProductISA); ProgramProductISA getIsaByProgramProductId(Long programProductId); ISA getOverriddenIsa(Long programProductId, Long facilityId); void deleteOverriddenIsa(Long programProductId, Long facilityId); @Transactional void save(FacilityProgramProduct fpp); FacilityProgramProduct getByCodes(String facilityCode, String programCode, String productCode); }
FacilityProgramProductRepository { @Transactional public void insertISA(Long facilityId, ProgramProductISA isa) { fppMapper.insertISA(facilityId, isa); }  @Transactional void insertISA(Long facilityId, ProgramProductISA isa); void updateISA(ProgramProductISA programProductISA); ProgramProductISA getIsaByProgramProductId(Long programProductId); ISA getOverriddenIsa(Long programProductId, Long facilityId); void deleteOverriddenIsa(Long programProductId, Long facilityId); @Transactional void save(FacilityProgramProduct fpp); FacilityProgramProduct getByCodes(String facilityCode, String programCode, String productCode);  }