assertEquals(expectedLocal, resolvedJndiNameLocal);
assertEquals(expectedLocalHome, resolvedJndiNameLocalHome);
// Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
String resolvedJndiNameRemoteD = beanMD.determineResolvedJndiName(KnownInterfaces.REMOTE, null);
String resolvedJndiNameRemoteD2 = beanMD.determineJndiName();
assertEquals(expectedRemote, resolvedJndiNameRemoteD);
assertEquals(expectedRemote, resolvedJndiNameRemoteD2);
String resolvedJndiNameHomeD = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
assertEquals(expectedHome, resolvedJndiNameHomeD);
String resolvedJndiNameLocalD = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL, null);