assertLocalBinding("LocalJndiBinding", session.getLocalBindings());
assertEquals("jndiNameSessionBean", session.getJndiName());
assertEquals("homeJndiNameSessionBean", session.getHomeJndiName());
// JBMETA-173, ensure all works as expected when wrapped by JNDI Decorator
JBossSessionBeanMetaData policyWrapped = new JBossSessionPolicyDecorator<JBossSessionBeanMetaData>(session,new BasicJndiBindingPolicy());
assertLocalBinding("LocalJndiBinding", policyWrapped.getLocalBindings());
String newBindingJndiName = "NEW Local Binding";
LocalBindingMetaData newBinding = new LocalBindingMetaData();
newBinding.setJndiName(newBindingJndiName);
List<LocalBindingMetaData> newBindings = new ArrayList<LocalBindingMetaData>();