'Create IdP and fetch it\'s random id along with entity.'

def _create_and_decapsulate_response(self, body=None):

    default_resp = self._create_default_idp(body=body)
    idp = self._fetch_attribute_from_response(default_resp, 'identity_provider')
    self.assertIsNotNone(idp)
    idp_id = idp.get('id')
    return (idp_id, idp)
