public function testFailedSocialUserAccountNotActive()
{
$event = new Entity();
$event->data = ['exception' => new AccountNotActiveException('Facebook user-1'), 'rawData' => ['id' => 111111, 'username' => 'user-1']];
$this->_mockFlash();
$this->_mockRequestGet();
$this->Trait->Flash->expects($this->once())->method('success')->with('Your social account has not been validated yet. Please check your inbox for instructions');
$this->Trait->expects($this->once())->method('redirect')->with(['plugin' => 'CakeDC/Users', 'controller' => 'Users', 'action' => 'login']);
$this->Trait->failedSocialLogin($event->data['exception'], $event->data['rawData'], true);
}