final InputStream inputStream = null;
try {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( RuleEngineTestBase.class.getResourceAsStream( this.bindUri ) ) );
final Package pkg = builder.getPackage();
final RuleExecutionSet ruleExecutionSet = this.ruleSetProvider.createRuleExecutionSet( pkg,
null );
assertEquals( "rule set name",
"SistersRules",
ruleExecutionSet.getName() );
assertEquals( "number of rules",
1,
ruleExecutionSet.getRules().size() );
} catch ( final IOException e ) {
fail( "Couldn't create the RuleExecutionSet. " + "Test threw an IOException." );
} finally {
if ( inputStream != null ) {
try {