@Test
lic void testSearchForObjectWithNoResults() throws Exception {

pectGetReadOnlyContext();
SearchResults(searchControlsRecursive());
y {
ested.searchForObject(nameMock, "(ou=somevalue)", contextMapperMock);
ail("EmptyResultDataAccessException expected");
tch (EmptyResultDataAccessException expected) {
ssertThat(true).isTrue();
    verify(dirContextMock).close();
}