public function testShouldNotRetrieveByToken()
{
// Set
$model = new class extends MongolidModel
{
public static function first($query = [], array $projection = [], bool $useCache = false)
{
}
};
$hasher = $this->app->make(Hasher::class);
$provider = new MongolidUserProvider($hasher, get_class($model));
// Actions
$result = $provider->retrieveByToken('1234', '4321');
// Assertions
$this->assertNull($result);
}