@Test(expected = ObjectRetrievalException.class)
public void testGetObjectFromNameClassPairObjectRetrievalException() throws NamingException {

    Binding expectedBinding = new Binding("some name", null);
    tested.getObjectFromNameClassPair(expectedBinding);
}