@Test
  public void testGetProgramStageSectionById() {
    int idA = programStageSectionService.saveProgramStageSection(sectionA);
    int idB = programStageSectionService.saveProgramStageSection(sectionB);

    assertEquals(sectionA, programStageSectionService.getProgramStageSection(idA));
    assertEquals(sectionB, programStageSectionService.getProgramStageSection(idB));
  }
  @Test
  public void testSaveProgramStageSection() {
    int idA = programStageSectionService.saveProgramStageSection(sectionA);
    int idB = programStageSectionService.saveProgramStageSection(sectionB);

    assertNotNull(programStageSectionService.getProgramStageSection(idA));
    assertNotNull(programStageSectionService.getProgramStageSection(idB));
  }
  @Test
  public void testUpdateProgramStageSection() {
    int idA = programStageSectionService.saveProgramStageSection(sectionA);

    assertNotNull(programStageSectionService.getProgramStageSection(idA));

    sectionA.setName("B");
    programStageSectionService.updateProgramStageSection(sectionA);

    assertEquals("B", programStageSectionService.getProgramStageSection(idA).getName());
  }
  @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));
 }