### Question:
EC2WithPublicIPAccess extends BaseRule { @Override public String getHelpText() { return "checks entirely for ec2 instance with public access of security group"; }  @Override RuleResult execute(Map<String, String> ruleParam, Map<String, String> resourceAttributes); @Override String getHelpText();  }### Answer:
@Test public void getHelpTextTest(){ assertThat(ec2WithPublicIPAccess.getHelpText(), is(notNullValue())); }