@Test
void createPolicy() {

    AutoScalingPolicy policy = loader.createPolicy("as", "scale-out", ">=80%", "3min", "15%");
    assertEquals("as-scale-out", policy.id);
    assertEquals(80d, policy.cpuUtilizationPercentage, 0.0001);
    assertEquals(ComparisonOperator.GreaterThanOrEqualToThreshold, policy.comparisonOperator);
    assertEquals(3, policy.lastMinutes);
    assertEquals(15, policy.adjustmentPercentage);
}