/** * Gets state used in authorization * * @return null|string */ public function getState() { return $this->authorizationCode->getState(); }
function it_should_return_state_from_authorization_code(IAuthorizationCode $authorizationCode) { $authorizationCode->getState()->willReturn(null)->shouldBeCalled(); $this->getState()->shouldReturn(null); }