getEnvAppData(); $builder = new AuthorizationUriBuilder($appData->getAppKey(), $appData->getRedirectUri(), 'state'); $result = $builder->build(); self::assertNotFalse(strpos($result, $appData->getAppKey())); self::assertNotFalse(strpos($result, urlencode($appData->getRedirectUri()))); self::assertNotFalse(strpos($result, urlencode('state'))); } }