* bean is compared with other bean that has the same name. Example bean1.equals(bean2). The beans in
* this test were goten by a lookup.
* @throws Exception if a lookup error occurs.
*/
public void testSLDifferentInstanceIdentityLookup() throws Exception {
ItfSimplePrintMessage bean1 = EJBHelper
.getBeanRemoteInstance(SLSBDeployTest.class, ItfSimplePrintMessage.class);
ItfSimplePrintMessage bean2 = EJBHelper
.getBeanRemoteInstance(SLSBDeployTest.class, ItfSimplePrintMessage.class);
assertTrue(bean1.equals(bean2), "The stateless bean is not equal to other stateless with the same name.");
}