public function testGetFile() { $s = new Scanner(""); $this->assertNull($s->getFile()); $s = new Scanner("", "/foo/bar"); $this->assertEquals("/foo/bar", $s->getFile()); }