@Test
public void testGetDeploymentEJBRequest() throws RemoteException {

    final EJBMetaDataImpl ejbMetadataWithId = new EJBMetaDataImpl(null, null, null, null, null, 1, InterfaceType.BUSINESS_REMOTE, null, null);
    final EJBRequest request = new EJBRequest(null, ejbMetadataWithId, method, null, null);
    final BeanContext info = deploymentIndex.getDeployment(request);
    Assert.assertEquals(beanContext, info);
    Assert.assertEquals(request.getDeploymentId(), info.getDeploymentID());
}