### Question:
ResourceScannedByQualysRule extends BaseRule { public String getHelpText() { return "This rule checks for Ec2 instance or VM scanned by qualys,if not found then its an issue"; }  RuleResult execute(final Map<String, String> ruleParam,Map<String, String> resourceAttributes); String getHelpText();  }### Answer:
@Test public void getHelpTextTest(){ assertThat(ec2InstanceScannedByQualysRule.getHelpText(), is(notNullValue())); }