4require_once
'libs/composer/vendor/autoload.php';
31 [
'default_with_underscore'],
42 [
'../../some/obscure/path'],
53 $this->assertEquals($value,
$clientId->toString());
64 $this->fail(
'This should not happen');
65 }
catch (\InvalidArgumentException $e) {
66 $this->assertTrue(
true);
An exception for terminatinating execution or to throw for unit testing.
tesInvalidArguments(string $value)
invalidClientIdProvider()
testValidArguments(string $value)
if(array_key_exists('provider', $_GET)) elseif(array_key_exists( 'provider', $_SESSION)) if(!in_array($providerName, ['Google', 'Microsoft', 'Yahoo'])) $clientId