@Test
public void testExportBlackList() throws IOException {

    ClassLoader classLoader = getClass().getClassLoader();
    jsonString = IOUtils.toString(classLoader.getResourceAsStream("DecisionPolicyData.txt"));
    try (BufferedReader reader = new BufferedReader(new StringReader(jsonString))) {
        Mockito.when(request.getReader()).thenReturn(reader);
        ExportAndImportDecisionBlackListEntries controller = new ExportAndImportDecisionBlackListEntries();
        controller.exportBlackList(request, response);
        assertTrue("".equals(response.getContentAsString()));
    } catch (Exception e) {
        fail("Not expecting Exception while Exporting BlackListEntries.");
    }
}