public function testFollowLocation() { $options = (new HttpOptions())->setFollowLocation(true); self::assertTrue($options->getFollowLocation()); self::assertFalse($options->setFollowLocation(false)->getFollowLocation()); }