Lines Matching refs:tree
24 $this->tree = new Mock\Collection('root', [
38 $this->assertEquals('content1', $this->tree->getChild('file1')->get());
49 $this->assertEquals('content1', $this->tree->getChild('file3')->get());
50 $this->assertFalse($this->tree->childExists('file1'));
61 $this->assertEquals('content1', $this->tree->getChild('file2')->get());
62 $this->assertFalse($this->tree->childExists('file1'));
74 $this->assertEquals('content1', $this->tree->getChild('file2')->get());
75 $this->assertFalse($this->tree->childExists('file1'));
87 $this->assertEquals('content1', $this->tree->getChild('file1')->get());
88 $this->assertEquals('content2', $this->tree->getChild('file2')->get());
89 $this->assertTrue($this->tree->childExists('file1'));
90 $this->assertTrue($this->tree->childExists('file2'));
113 $this->assertEquals('content1', $this->tree->getChild('file1')->get());
114 $this->assertEquals('content2', $this->tree->getChild('file2')->get());
115 $this->assertTrue($this->tree->childExists('file1'));
116 $this->assertTrue($this->tree->childExists('file2'));