    @Test
    public void testNeverGrowAboveMaximmum() throws Exception {

        resizable.policies().remove(policy);
        policy = resizable.policies().add(AutoScalerPolicy.builder()
                .maxPoolSize(5)
                .buildSpec());
        
        resizable.resize(4);
        resizable.sensors().emit(AutoScalerPolicy.DEFAULT_POOL_HOT_SENSOR, message(4, 1000000L, 4*10L, 4*20L));
        
        // expect pool to grow only to the maximum
        Asserts.succeedsEventually(ImmutableMap.of("timeout", TIMEOUT_MS), currentSizeAsserter(resizable, 5));
    }