@Test
public void testBuildUsage() {

    Map<String, ReservationUsage> usage = calculator.buildUsage();
    ReservationUsage cg1Usage = usage.get("cg1");
    ReservationUsage cg2Usage = usage.get("cg2");
    assertThat(cg1Usage).isNotNull();
    assertThat(cg2Usage).isNotNull();
    assertThat(cg1Usage.getCpu()).isEqualTo(CONTAINER_RESOURCES.getCpu() * 4);
    assertThat(cg1Usage.getCpu() * 2).isEqualTo(cg2Usage.getCpu());
    assertThat(cg1Usage.getMemoryMB()).isEqualTo(CONTAINER_RESOURCES.getMemoryMB() * 4);
    assertThat(cg1Usage.getMemoryMB() * 2).isEqualTo(cg2Usage.getMemoryMB());
    assertThat(cg1Usage.getDiskMB()).isEqualTo(CONTAINER_RESOURCES.getDiskMB() * 4);
    assertThat(cg1Usage.getDiskMB() * 2).isEqualTo(cg2Usage.getDiskMB());
    assertThat(cg1Usage.getNetworkMbs()).isEqualTo(CONTAINER_RESOURCES.getNetworkMbps() * 4);
    assertThat(cg1Usage.getNetworkMbs() * 2).isEqualTo(cg2Usage.getNetworkMbs());
}