@@ -56,6 +56,9 @@ discard block |
||
56 | 56 | ] ); |
57 | 57 | } |
58 | 58 | |
59 | + /** |
|
60 | + * @param string $pageName |
|
61 | + */ |
|
59 | 62 | public function newMockTitle( $pageName ) { |
60 | 63 | $title = $this->createMock( 'Title' ); |
61 | 64 | |
@@ -83,6 +86,9 @@ discard block |
||
83 | 86 | $this->assertEquals( [], $page->getSubPages() ); |
84 | 87 | } |
85 | 88 | |
89 | + /** |
|
90 | + * @param integer $expectedCount |
|
91 | + */ |
|
86 | 92 | private function assertPageCount( $expectedCount, $hierarchy ) { |
87 | 93 | $this->assertInternalType( 'array', $hierarchy ); |
88 | 94 | $this->assertCount( $expectedCount, $hierarchy ); |