@Test
public void testGetPolicyScopesEntityData() {

    try {
        controller.getPolicyScopesEntityData(request, response);
        assertTrue(response.getContentAsString() != null && response.getContentAsString().contains("scopeDatas"));
    } catch (UnsupportedEncodingException e) {
        logger.error("Exception Occured" + e);
        fail();
    }
}