String dslDefinition = "There is a {rating} rated applicant older than {age} years";
String dslFile = "[when]" + dslDefinition + "= Applicant( creditRating == \"{rating}\", age > {age} )";
when( dmo.getPackageName() ).thenReturn( "org.mortgages" );
final RuleModel model = RuleModelDRLPersistenceImpl.getInstance().unmarshalUsingDSL( drl,
new ArrayList<String>(),
dmo,
new String[]{ dslFile } );
assertEquals( 1, model.lhs.length );