JBossMetaData jboss = unmarshal();
assertEquals(1, jboss.getEnterpriseBeans().size());
JBossSessionBeanMetaData sessionBean = (JBossSessionBeanMetaData) jboss.getEnterpriseBean("StatefulBean");
sessionBean = new JBossSessionPolicyDecorator(sessionBean, new BasicJndiBindingPolicy());
String determinedJndiName = JbossSessionBeanJndiNameResolver.resolveRemoteBusinessDefaultJndiName(sessionBean);
boolean determinedValid = false;
for(int i = 0; i < 2; i++)
{
RemoteBindingMetaData remoteBinding = sessionBean.getRemoteBindings().get(i);