assertTrue(true); } public function testShouldConstruct() { $stream = new StreamFactory; $this->assertInstanceOf(StreamFactory::class, $stream); } public function testShouldCreateStream() { $stream = (new StreamFactory)->createStream("Hello world!"); $this->assertInstanceOf(StreamInterface::class, $stream); $this->assertEquals("Hello world!", (string) $stream); } }