public function it_should_not_make_requests_to_api_when_login_already_logged() { $this->setIsLoggedInExpectation(true); $this->request->shouldNotReceive('exec'); $this->assertTrue($this->provider->login('test', 'test')); }