@Test
public void testNoActivatedRamp() throws Exception {

  Assert.assertTrue(executableMap.getActivatedAll().isEmpty());
  executableMap.add(RAMP1,
      ExecutableRamp.builder(RAMP1, RAMP_POLICY1)
          .setMetadata(ExecutableRamp.Metadata.builder()
              .setMaxFailureToPause(500)
              .setMaxFailureToRampDown(500)
              .setPercentageScaleForMaxFailure(false)
              .build())
          .setState(ExecutableRamp.State.builder()
              .setStartTime(0)
              .setEndTime(0)
              .setLastUpdatedTime(0)
              .setNumOfTrail(0)
              .setNumOfSuccess(0)
              .setNumOfFailure(0)
              .setNumOfIgnored(0)
              .setPaused(false)
              .setRampStage(1)
              .setActive(true)
              .build())
          .build()
  );
  Assert.assertFalse(executableMap.getActivatedAll().isEmpty());
  executableMap.delete(RAMP1);
  executableMap.add(RAMP1,
      ExecutableRamp.builder(RAMP1, RAMP_POLICY1)
          .setMetadata(ExecutableRamp.Metadata.builder()
              .setMaxFailureToPause(500)
              .setMaxFailureToRampDown(500)
              .setPercentageScaleForMaxFailure(false)
              .build())
          .setState(ExecutableRamp.State.builder()
              .setStartTime(0)
              .setEndTime(0)
              .setLastUpdatedTime(0)
              .setNumOfTrail(0)
              .setNumOfSuccess(0)
              .setNumOfFailure(0)
              .setNumOfIgnored(0)
              .setPaused(false)
              .setRampStage(1)
              .setActive(false)
              .build())
          .build()
  );
  Assert.assertTrue(executableMap.getActivatedAll().isEmpty());
}