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')); }