@Test
public void testRemoveDescriptiveDictionary() {

    jsonString =
            "{\"data\":{\"attributes\":[{\"$$hashKey\":\"object:257\",\"id\":\"choice1\",\"number\":\"12\","
            + "\"option\":\"test\"}],\"description\":\"test\",\"descriptiveScopeName\":\"Test\",\"id\":1,"
            + "\"search\":\"Test\"},\"userid\":\"demo\"}";
    try (BufferedReader br = new BufferedReader(new StringReader(jsonString))) {
        when(request.getReader()).thenReturn(br);
        controller.removeDescriptiveDictionary(request, response);
        assertTrue(response.getContentAsString() != null
                && response.getContentAsString().contains("descriptiveScopeDictionaryDatas"));
    } catch (Exception e) {
        logger.error("Exception" + e);
    }
}