@Test
void getPredictionRuleMapperSourceWithPackage() {

    final String packageName = "PACKAGE";
    final String ruleName = "RULE_NAME";
    final String fullRuleName = packageName + "." + ruleName;
    String retrieved = PredictionRuleMapperGenerator.getPredictionRuleMapperSource(fullRuleName);
    assertNotNull(retrieved);
    String expected = String.format("package %s;", packageName);
    assertTrue(retrieved.contains(expected));
    expected = String.format("public final static Model model = new %s();", fullRuleName);
    assertTrue(retrieved.contains(expected));
}