public function test_auth_fails_when_user_not_found()
{
$connection = $this->getMockConnection();
$connection->expects($this->exactly(1))->method('isBound')->willReturn(true);
$connection->expects($this->exactly(1))->method('search')->willReturn('resource');
$connection->expects($this->exactly(1))->method('getEntries')->willReturn(['count' => 0]);
$this->assertFalse(Auth::attempt(['email' => '[email protected]', 'password' => '12345']));
}