@Test
public void testHandleNameClassPair() throws NamingException {

    tested.handleNameClassPair(expectedNameClassPair);
    List result = tested.getList();
    assertThat(result).hasSize(1);
    assertThat(result.get(0)).isSameAs(expectedResult);
}