public class RuleBaseAssemblerTest extends TestCase {
public void testAssemblePackages() throws Exception {
RuleBase rb = RuleBaseFactory.newRuleBase();
Package pkg = new Package( "goober" );
pkg.setClassFieldAccessorCache( new ClassFieldAccessorCache( Thread.currentThread().getContextClassLoader() ) );
rb.addPackage( pkg );
Package p1 = new Package( "p1" );
p1.setClassFieldAccessorCache( new ClassFieldAccessorCache( Thread.currentThread().getContextClassLoader() ) );
File f = getTempDirectory();
File p1file = new File( f,
"p1.pkg" );