public function testWrapsBasicStreamFunctionality() { $b = new PostBody(); $this->assertTrue($b->isSeekable()); $this->assertTrue($b->isReadable()); $this->assertFalse($b->isWritable()); $this->assertFalse($b->write('foo')); }