/** * @depends testReturnsAuthResponseForOkayResponse * @param AuthResponse $authResponse */ public function testSetsUserHashInAuthResponseForOkResponse(AuthResponse $authResponse) { $this->assertEquals("User Hash", $authResponse->getUserHash()); }
/** * @depends testWhenPostDataIsForAuthYouReceiveAuthResponse */ public function testWhenPostDataIsForAuthTheAuthResponseHasTheCorrectUserHash(AuthResponse $authResponse) { $this->assertEquals("User Hash", $authResponse->getUserHash()); }
public function testUserPushIdDefaultsToNull() { $this->assertNull($this->defaultEntity->getUserHash()); }