@Test
public void testSearch_String_CallbackHandler_Defaults() throws Exception {

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