@Test
public final void testSearchDictionaryController() throws IOException {

    PolicyRestController controller = new PolicyRestController();
    BufferedReader reader = new BufferedReader(new StringReader("{\"foo\":\"bar\"}"));
    Mockito.when(request.getReader()).thenReturn(reader);
    Mockito.when(request.getRequestURI()).thenReturn("/pap/foo/");
    assertNull(controller.searchDictionaryController(request, response));
}