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'));
}