}
public void testLocalDataSourceDeploymentMetaData()
{
enableTrace("org.jboss.managed.plugins.factory");
ManagedObjectFactory mof = ManagedObjectFactory.getInstance();
LocalDSInstanceClassFactory icf = new LocalDSInstanceClassFactory(mof);
icf.setMof(mof);
mof.setInstanceClassFactory(LocalDataSourceDeploymentMetaData.class, icf);
LocalDataSourceDeploymentMetaData lds = new LocalDataSourceDeploymentMetaData();
// Set a SecurityMetaData to validate its MO
SecurityMetaData smd = new ApplicationManagedSecurityMetaData();
smd.setDomain("java:/jaas/SomeDomain");