/** * @covers ::getStdin */ public function testInstanceKeepsStdin() { $request = new Request(Role::responder(), 5, false, new RequestParameters(['foo' => 'bar']), new StringReader('baz')); self::assertEquals('baz', $request->getStdin()->read(3)); }