public function testSetPathsAddsNewPathsToAlreadyDefined() { $paths = array('identifier' => null, 'nickname' => null, 'firstname' => null, 'lastname' => null, 'realname' => null, 'email' => null, 'profilepicture' => null, 'foo' => 'bar'); $responseObject = new PathUserResponse(); $responseObject->setPaths(array('foo' => 'bar')); $this->assertEquals($paths, $responseObject->getPaths()); }
public function testGetSetPaths() { $paths = array('foo' => 'bar'); $this->responseObject->setPaths($paths); $this->assertEquals($paths, $this->responseObject->getPaths()); }