@Test
public void testSaveBRMSDependencyDictionary() {

    logger.info("testSaveBRMSDependencyDictionary: Entering");
    jsonString =
            "{\"brmsDependencyDictionaryData\": "
                    + "{\"ruleName\": \"test\",\"rule\": \"test\"},\"userid\": \"testName\"}";
    try (BufferedReader br = new BufferedReader(new StringReader(jsonString))) {
        when(request.getReader()).thenReturn(br);
        controller.saveBRMSDependencyDictionary(request, response);
        logger.info("response.getContentAsString(): " + response.getContentAsString());
        assertTrue(response.getContentAsString() != null
                && response.getContentAsString().contains("brmsDependencyDictionaryData"));
    } catch (Exception e) {
        fail("Exception: " + e);
    }
    logger.info("testSaveBRMSDependencyDictionary: exit");
}