@Test
public void testGetImages() {

    AnalysisController ac = new AnalysisController();
    ac.setFilename(BASEDIR + "qav-analysis-result.json");
    ac.init();
    List<ImageDTO> images = ac.getImages();
    assertThat(images).hasSize(3);
    assertThat(images.get(0).getImageName()).isEqualTo("packageGraph");
    assertThat(images.get(1).getImageName()).isEqualTo("packageCycleGraph");
    assertThat(images.get(2).getImageName()).isEqualTo("legend");
}