public function testMethod() { self::assertSame('foo', (new HttpOptions())->setMethod('foo')->getMethod()); }