@Test
public void testGetOrgIdFromOrgExtIdSuccess() {

    try {
        Map<String, Object> dbRequestMap = new HashMap<>();
        dbRequestMap.put(JsonKey.EXTERNAL_ID, "orgextid");
        dbRequestMap.put(JsonKey.PROVIDER, "provider");
        Response response = new Response();
        List<Map<String, Object>> orgList =new ArrayList<>();
        Map<String,Object>map=new HashMap<>();
        map.put(JsonKey.ORG_ID,"anyOrgId");
        orgList.add(map);
        response.put(JsonKey.RESPONSE, orgList);
        when(cassandraOperation.getRecordsByCompositeKey(Util.KEY_SPACE_NAME, ORG_EXTERNAL_IDENTITY, dbRequestMap)).thenReturn(response);
        String resp = orgExternalService.getOrgIdFromOrgExternalIdAndProvider("OrgExtid", "provider");
        Assert.assertEquals("anyOrgId", resp);
    } catch (Exception e) {
        Assert.assertTrue(false);
    }
}