oneOf(responder).respond(with(equal(new SearchResponse(EMPTY, null))));
allowing(selectedMailbox).getApplicableFlags(); will(returnValue(new Flags()));
allowing(selectedMailbox).hasNewApplicableFlags(); will(returnValue(false));
}});
SearchRequest message = new SearchRequest(command, new SearchOperation(key, new ArrayList<SearchResultOption>()), false, TAG);
processor.doProcess(message, session, TAG, command, responder);
}