@Test
public void testListApplications() throws Exception {

    List<SeaCloudsApplicationData> list = (List<SeaCloudsApplicationData>) deployerResource.listApplications().getEntity();
    assertTrue(list.isEmpty());
    deployerResource.addApplication(getDam());
    deployerResource.addApplication(getDam());
    deployerResource.addApplication(getDam());
    list = (List<SeaCloudsApplicationData>) deployerResource.listApplications().getEntity();
    assertEquals(list.size(), 3);
}