Exemple #1
0
 public function testIsNotWritable()
 {
     $a = new AppendStream([Stream::factory('foo')]);
     $this->assertFalse($a->isWritable());
     $this->assertTrue($a->isSeekable());
     $this->assertTrue($a->isReadable());
     $this->assertFalse($a->write('foo'));
 }