@Test
public void testGetResourceLimitsWithAdjustment() {

    String instanceType = instanceGroups.get(0).getInstanceType();
    ResourceDimension adjustedResources = ResourceDimensions.multiply(instanceGroups.get(0).getResourceDimension(), 0.5);
    when(serverInfoResolver.resolve(instanceType)).thenReturn(Optional.of(ServerInfo.from(adjustedResources)));
    ResourceDimension result = service.getResourceLimits(instanceType);
    assertThat(result).isEqualTo(adjustedResources);
}