Exemple #1
0
 public function testClosesEachStream()
 {
     $s1 = Stream::factory('foo');
     $a = new AppendStream([$s1]);
     $a->close();
     $this->assertSame('', (string) $a);
 }