public function testTestForAccountCreation()
 {
     $user = \User::newFromName('foo');
     $plugin = $this->getMock('AuthPlugin');
     $plugin->expects($this->any())->method('domainList')->willReturn([]);
     $provider = new AuthPluginPrimaryAuthenticationProvider($plugin);
     $this->assertEquals(\StatusValue::newGood(), $provider->testForAccountCreation($user, $user, []));
 }