@Test
public void shouldDelegateDeployToEntryDeployers() {

    //given
    ApplicationContent firstApp = mock(ApplicationContent.class);
    ApplicationContent secondApp = mock(ApplicationContent.class);
    given(applicationLoader.loadApplications()).willReturn(Arrays.asList(firstApp,
                                                                         secondApp));
    //when
    deployer.deploy();
    //then
    verify(firstDeployer).deployEntries(firstApp);
    verify(firstDeployer).deployEntries(secondApp);
    verify(secondDeployer).deployEntries(firstApp);
    verify(secondDeployer).deployEntries(secondApp);
}