return mdb;
}
protected MessageDrivenMetaData assertFullMDB(String ejbName, ApplicationMetaData applicationMetaData, Mode mode)
{
MessageDrivenMetaData mdb = assertMDB(ejbName + "EjbName", applicationMetaData);
assertEquals(ejbName + "EjbClass", mdb.getEjbClass());
assertEquals(ejbName + "MessagingType", mdb.getMessagingType());
assertTrue(mdb.isContainerManagedTx());
assertEquals(ejbName + "MessageDestinationType", mdb.getDestinationType());
assertEquals(ejbName + "MessageDestinationLink", mdb.getDestinationLink());
assertActivationConfigProperties(ejbName, 2, mdb.getActivationConfigProperties());
assertEnvironment(ejbName, mdb, true, mode);
assertMethodAttributes(ejbName, mdb);
assertMethodPermissions(ejbName, 7, mdb);
assertExcludedMethods(ejbName, mdb.getExcludedMethods());
assertSecurityIdentity(ejbName, "SecurityIdentity", mdb.getSecurityIdentityMetaData(), true);
return mdb;
}