Collection<Class<?>> classes = PackageScanner.loadClasses();
//System.out.println("Processing classes: " + classes);
EjbJar30Creator creator = new EjbJar30Creator(finder);
EjbJar30MetaData metaData = creator.create(classes);
// xml augments it with a messaging-interface
EjbJar3xMetaData specMetaData = unmarshal(EjbJar3xMetaData.class);
EjbJar3xMetaData merged = new EjbJar30MetaData();
AnnotationMergedView.merge(merged, specMetaData, metaData);
MessageDrivenBeanMetaData result = (MessageDrivenBeanMetaData) merged
.getEnterpriseBean("UnknownMessageListenerInterfaceMDB");
assertEquals("javax.jms.MessageListener", result.getMessagingType());
ActivationConfigPropertiesMetaData activationConfigProperties = result.getActivationConfig()
.getActivationConfigProperties();
assertEquals(3, activationConfigProperties.size());