Since this is a unit test you have no option but to use power mock in order
to mock the PrivilegedCarbonContext.endTenantFlow() static function using
PowerMockito.mockStatic. I think we must be doing this already, not sure
why the test is suddenly failing. We have done this in APIProviderImplTest.
Hi,
I am running into below error [1] while using below code snippet.
> AuthorizationGrantCacheEntry cacheEntry =
> AuthorizationGrantCache.getInstance().getValueFromCacheByToken(cacheKey);
> if (cacheEntry == null) {
> return new HashMap();
> }
> Map userAttributes =