assertEquals( "org.drools",
pkg.getName() );
assertEquals( 1,
pkg.getEntryPointDeclarations().size() );
EntryPointDeclarationDescr epd = pkg.getEntryPointDeclarations().iterator().next();
assertEquals( "eventStream",
epd.getEntryPointId() );
assertEquals( 2,
epd.getAnnotations().size() );
assertEquals( "\"jndi://queues/events\"",
epd.getAnnotation( "source" ).getValue() );
assertEquals( "true",
epd.getAnnotation( "foo" ).getValue() );
}