@Test public void testGetProgramStageSectionListByName() { programStageService.updateProgramStage(stageA); List<ProgramStageSection> sections = programStageSectionService.getProgramStageSectionByName("A"); assertEquals(1, sections.size()); assertTrue(sections.contains(sectionA)); }
@Test public void testGetProgramStageSectionByNameStage() { programStageService.updateProgramStage(stageA); assertNotNull(programStageSectionService.getProgramStageSectionByName("A", stageA)); }