@Test
    public void noOp() {
        CapacityManager mgr = new CapacityManager(-1);
        Assert.assertTrue(mgr.acquire());
        mgr.release();
        Assert.assertTrue(mgr.acquire());
        Assert.assertEquals(mgr.availableCapacity(), -1);
        Assert.assertEquals(mgr.consumedCapacity(), 0);
    }
Tests that, if created with negative capacity, CapacityManager effectively operates
in a no-op mode.
aws-java-sdk-core/src/test/java/com/amazonaws/util/CapacityManagerTest.java