public function testRead() { $f = new File(__DIR__ . '/../tmp/access.txt'); $this->assertContains('12test34', $f->read()); $this->assertEquals('stus', $f->read(2, 4)); }