public function testGetLocalModifications() { $vcs = new Hg(); exec('touch foo'); $modifs = $vcs->getLocalModifications(); $this->assertContains('foo', implode($modifs)); }