11 $user = \User::newFromName(
'UTSysop' );
13 $provider = $this->getMockForAbstractClass( AbstractPreAuthenticationProvider::class );
20 \StatusValue::newGood(),
21 $provider->testForAuthentication( [] )
24 \StatusValue::newGood(),
25 $provider->testForAccountCreation(
$user,
$user, [] )
28 \StatusValue::newGood(),
32 \StatusValue::newGood(),
33 $provider->testUserForCreation(
$user,
false )
36 \StatusValue::newGood(),
37 $provider->testForAccountLink(
$user )
41 $provider->postAuthentication(
$user,
$res );
43 $provider->postAccountLink(
$user,
$res );