createRequest($method ?? static::TEST_METHOD, static::TEST_URI); } /** * @return \Nyholm\Psr7\Factory\Psr17Factory */ protected static function getPsr17Factory(): Psr17Factory { if (null === static::$psr17Factory) { static::$psr17Factory = new Psr17Factory(); } return static::$psr17Factory; } }