CakeDC\Users\Test\TestCase\Controller\SocialAccountsControllerTest::testResendValidationInvalid PHP Метод

testResendValidationInvalid() публичный Метод

test
public testResendValidationInvalid ( ) : void
Результат void
    public function testResendValidationInvalid()
    {
        $this->Controller->expects($this->once())->method('redirect')->with(['plugin' => 'CakeDC/Users', 'controller' => 'Users', 'action' => 'login']);
        $this->Controller->resendValidation('Facebook', 'reference-invalid');
        $this->assertEquals('Invalid account', $this->Controller->request->session()->read('Flash.flash.0.message'));
    }