@Test
public void testSearch_PartialResult_IgnoreNotSet() throws Exception {

	expectGetReadOnlyContext();
	javax.naming.PartialResultException ex = new javax.naming.PartialResultException();
	when(searchExecutorMock.executeSearch(dirContextMock)).thenThrow(ex);
	try {
		tested.search(searchExecutorMock, handlerMock, dirContextProcessorMock);
		fail("PartialResultException expected");
	}
	catch (PartialResultException expected) {
		assertThat(true).isTrue();
	}
       verify(dirContextProcessorMock).preProcess(dirContextMock);
       verify(dirContextProcessorMock).postProcess(dirContextMock);
       verify(dirContextMock).close();
}