@@ -96,6 +96,9 @@ |
||
| 96 | 96 | return $this->getIndentedLine( $lineContent, $indentationLevel ); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | + /** |
|
| 100 | + * @param string $lineContent |
|
| 101 | + */ |
|
| 99 | 102 | private function getIndentedLine( $lineContent, $indentationLevel ) { |
| 100 | 103 | $totalIndentLevel = $indentationLevel + $this->options[self::OPT_ADDLEVEL]; |
| 101 | 104 | |
@@ -45,6 +45,9 @@ |
||
| 45 | 45 | ]; |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | + /** |
|
| 49 | + * @param string $listText |
|
| 50 | + */ |
|
| 48 | 51 | private function assertCreatesList( array $params, $listText ) { |
| 49 | 52 | $this->assertEquals( |
| 50 | 53 | $listText, |
@@ -55,6 +55,9 @@ discard block |
||
| 55 | 55 | ] ); |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | + /** |
|
| 59 | + * @param string $pageName |
|
| 60 | + */ |
|
| 58 | 61 | public function newMockTitle( $pageName ) { |
| 59 | 62 | $title = $this->getMock( 'Title' ); |
| 60 | 63 | |
@@ -82,6 +85,9 @@ discard block |
||
| 82 | 85 | $this->assertEquals( [], $page->getSubPages() ); |
| 83 | 86 | } |
| 84 | 87 | |
| 88 | + /** |
|
| 89 | + * @param integer $expectedCount |
|
| 90 | + */ |
|
| 85 | 91 | private function assertPageCount( $expectedCount, $hierarchy ) { |
| 86 | 92 | $this->assertInternalType( 'array', $hierarchy ); |
| 87 | 93 | $this->assertCount( $expectedCount, $hierarchy ); |