public function testBackUpDirIsExcludedWhenBackUpDirIsInRoot() { $excludes = new Excludes(); $this->assertContains(Path::get_root(), Path::get_path()); $this->assertContains(str_replace(trailingslashit(Path::get_root()), '', Path::get_path()), $excludes->get_excludes()); }