@Test
public void testAllocationNotChangedIfNoAppInTier() {

    List<AgentInstanceGroup> instanceGroups = singletonList(
            getInstanceGroup(Tier.Critical, M4_XLARGE_ID, 0, 1)
    );
    when(agentManagementService.getInstanceGroups()).thenReturn(instanceGroups);
    CapacityRequirements requirements = new CapacityRequirements(Collections.emptyMap());
    CapacityAllocations allocations = strategy.compute(requirements);
    assertThat(allocations.getInstanceGroups()).isEmpty();
}