@Test
public void testSearch_CallbackHandler_Defaults() throws Exception {

	expectGetReadOnlyContext();
	SearchControls controls = searchControlsRecursive();
	controls.setReturningObjFlag(false);
	SearchResult searchResult = new SearchResult("", new Object(), new BasicAttributes());
	singleSearchResult(controls, searchResult);
	tested.search(nameMock, "(ou=somevalue)", handlerMock);
       verify(handlerMock).handleNameClassPair(searchResult);
       verify(dirContextMock).close();
}