public function test_login_falied_exception() { $user = []; $auth = App::make(AuthService::class); $this->setExpectedException(TypeError::class); $auth->login($user); }