Assert.assertEquals(SimpleBMPBean.HOME_METHOD_RETURN, home2.exampleHomeMethod());
}
@Test
public void testHomeInterfaceEquality() throws Exception {
final BMPLocalHome home1 = getHome();
final BMPLocalHome home2 = getHome();
Assert.assertEquals(home1, home2);
Assert.assertEquals(home1.hashCode(), home2.hashCode());
Assert.assertNotSame(home1, new BMPLocalHome() {
@Override
public BMPLocalInterface createEmpty() {
return null;
}