Serializable
{
public void testFibonacci() throws Exception
{
// <rule-set name="fibonacci" ...>
RuleBaseContext ruleBaseContext = new RuleBaseContext( );
URLClassLoader urlClassLoader = new URLClassLoader( new URL[]{} );
ruleBaseContext.put( "java-classLoader",
urlClassLoader );
urlClassLoader = (URLClassLoader) ruleBaseContext.get( "java-classLoader" );
final RuleSet ruleSet = new RuleSet( "fibonacci" );
ruleSet.addApplicationData( new ApplicationData( ruleSet,
"fibtotal",
FibTotal.class ) );