Class<?> plainJavaBeanClass = getClass(PlainJavaBean.class, unit);
Class<?> mySLSBeanClass = getClass(MySLSBean.class, unit);
Class<?> businessInterface = getClass(BusinessInterface.class, unit);
Deployment deployment = initializeDeploymentBean();
BeanDeploymentArchive bda = deployment.loadBeanDeploymentArchive(plainJavaBeanClass);
assertBDAId(bda, EAR_NAME);
assertExpectedClasses(bda, PlainJavaBean.class, MySLSBean.class, BusinessInterface.class);
assertSame(bda, deployment.loadBeanDeploymentArchive(mySLSBeanClass));
assertSame(bda, deployment.loadBeanDeploymentArchive(businessInterface));
}