test_class.declarator: cloudWatchStepDefinitions
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private CloudWatchStepDefinitions cloudWatchStepDefinitions;
test_class.type: CloudWatchStepDefinitions
test_class.var_name: cloudWatchStepDefinitions
test_class.declarator: cloudWatchRaider
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private CloudWatchRaiderImpl cloudWatchRaider;
test_class.type: CloudWatchRaiderImpl
test_class.var_name: cloudWatchRaider
test_class.declarator: executionStateCache
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private ExecutionStateCache executionStateCache;
test_class.type: ExecutionStateCache
test_class.var_name: executionStateCache
test_class.file: cloudraider-core/src/test/java/com/intuit/cloudraider/cucumber/steps/CloudWatchStepDefinitionsTest.java
test_class.identifier: CloudWatchStepDefinitionsTest
test_case.body: @Test
      public void testIsAlarmOff()
      {
          PowerMockito.when(cloudWatchRaider.getAlarmState(Mockito.anyString())).thenReturn("OFF");
          cloudWatchStepDefinitions.isAlarmOff();
      }
test_case.class_method_signature: CloudWatchStepDefinitionsTest.testIsAlarmOff()
test_case.full_signature: @Test public void testIsAlarmOff()
test_case.identifier: testIsAlarmOff
test_case.invocations: thenReturn when getAlarmState anyString isAlarmOff
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsAlarmOff()
focal_class.declarator: cloudWatchRaider
focal_class.modifier: @Autowired
      @Qualifier("cwRaiderBean")
      private
focal_class.original_string: @Autowired
      @Qualifier("cwRaiderBean")
      private CloudWatchRaider cloudWatchRaider;
focal_class.type: CloudWatchRaider
focal_class.var_name: cloudWatchRaider
focal_class.declarator: alarmName
focal_class.modifier: private
focal_class.original_string: private String alarmName;
focal_class.type: String
focal_class.var_name: alarmName
focal_class.declarator: logger = LoggerFactory.getLogger(this.getClass())
focal_class.original_string: Logger logger = LoggerFactory.getLogger(this.getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: executionStateCache
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ExecutionStateCache executionStateCache;
focal_class.type: ExecutionStateCache
focal_class.var_name: executionStateCache
focal_class.file: cloudraider-core/src/main/java/com/intuit/cloudraider/cucumber/steps/CloudWatchStepDefinitions.java
focal_class.identifier: CloudWatchStepDefinitions
focal_class.class_method_signature: CloudWatchStepDefinitions.getExecutionStateCache()
focal_class.full_signature: public ExecutionStateCache getExecutionStateCache()
focal_class.identifier: getExecutionStateCache
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ExecutionStateCache
focal_class.signature: ExecutionStateCache getExecutionStateCache()
focal_class.class_method_signature: CloudWatchStepDefinitions.setExecutionStateCache(ExecutionStateCache executionStateCache)
focal_class.full_signature: public void setExecutionStateCache(ExecutionStateCache executionStateCache)
focal_class.identifier: setExecutionStateCache
focal_class.modifiers: public
focal_class.parameters: (ExecutionStateCache executionStateCache)
focal_class.return: void
focal_class.signature: void setExecutionStateCache(ExecutionStateCache executionStateCache)
focal_class.class_method_signature: CloudWatchStepDefinitions.CloudWatchStepDefinitions()
focal_class.full_signature: public  CloudWatchStepDefinitions()
focal_class.identifier: CloudWatchStepDefinitions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CloudWatchStepDefinitions()
focal_class.class_method_signature: CloudWatchStepDefinitions.givenAnAlarmName(String alarmName)
focal_class.full_signature: @Given("^CloudWatch Alarm \"([^\"]*)\"$") public CloudWatchStepDefinitions givenAnAlarmName(String alarmName)
focal_class.identifier: givenAnAlarmName
focal_class.modifiers: @Given("^CloudWatch Alarm \"([^\"]*)\"$") public
focal_class.parameters: (String alarmName)
focal_class.return: CloudWatchStepDefinitions
focal_class.signature: CloudWatchStepDefinitions givenAnAlarmName(String alarmName)
focal_class.class_method_signature: CloudWatchStepDefinitions.assertCloudWatchAlarmState(String expectedState)
focal_class.full_signature: @Then("^assertCW alarm = \"([^\"]*)\"$") public void assertCloudWatchAlarmState(String expectedState)
focal_class.identifier: assertCloudWatchAlarmState
focal_class.modifiers: @Then("^assertCW alarm = \"([^\"]*)\"$") public
focal_class.parameters: (String expectedState)
focal_class.return: void
focal_class.signature: void assertCloudWatchAlarmState(String expectedState)
focal_class.class_method_signature: CloudWatchStepDefinitions.assertCloudWatchAlarmState(String alarm, String expectedState)
focal_class.full_signature: @Then("^assertCW alarm \"([^\"]*)\" = \"([^\"]*)\"$") public void assertCloudWatchAlarmState(String alarm, String expectedState)
focal_class.identifier: assertCloudWatchAlarmState
focal_class.modifiers: @Then("^assertCW alarm \"([^\"]*)\" = \"([^\"]*)\"$") public
focal_class.parameters: (String alarm, String expectedState)
focal_class.return: void
focal_class.signature: void assertCloudWatchAlarmState(String alarm, String expectedState)
focal_class.class_method_signature: CloudWatchStepDefinitions.isAlarmOn()
focal_class.full_signature: @Then("^assertCW alarm is on$") public boolean isAlarmOn()
focal_class.identifier: isAlarmOn
focal_class.modifiers: @Then("^assertCW alarm is on$") public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAlarmOn()
focal_class.class_method_signature: CloudWatchStepDefinitions.isAlarmOff()
focal_class.full_signature: @Then("^assertCW alarm is off$") public boolean isAlarmOff()
focal_class.identifier: isAlarmOff
focal_class.modifiers: @Then("^assertCW alarm is off$") public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAlarmOff()
focal_class.class_method_signature: CloudWatchStepDefinitions.checkAlarmState()
focal_class.full_signature: @Given("^check CloudWatch alarms state$") public CloudWatchStepDefinitions checkAlarmState()
focal_class.identifier: checkAlarmState
focal_class.modifiers: @Given("^check CloudWatch alarms state$") public
focal_class.parameters: ()
focal_class.return: CloudWatchStepDefinitions
focal_class.signature: CloudWatchStepDefinitions checkAlarmState()
focal_method.body: @Then("^assertCW alarm is off$")
      public boolean isAlarmOff() {
          if (alarmName != null) {
              return !cloudWatchRaider.isStateInAlarm(alarmName);
          }
  
          throw new RuntimeException("Alarm Name is not set");
      }
focal_method.class_method_signature: CloudWatchStepDefinitions.isAlarmOff()
focal_method.full_signature: @Then("^assertCW alarm is off$") public boolean isAlarmOff()
focal_method.identifier: isAlarmOff
focal_method.invocations: isStateInAlarm
focal_method.modifiers: @Then("^assertCW alarm is off$") public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isAlarmOff()