@@ -66,6 +66,9 @@ |
||
| 66 | 66 | )); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $name |
|
| 71 | + */ |
|
| 69 | 72 | private function renderPagerfanta($name) |
| 70 | 73 | { |
| 71 | 74 | $template = $this->buildTemplateName($name); |
@@ -240,6 +240,10 @@ |
||
| 240 | 240 | $this->assertSame(200, $response->getStatusCode()); |
| 241 | 241 | } |
| 242 | 242 | |
| 243 | + /** |
|
| 244 | + * @param string $view |
|
| 245 | + * @param string $html |
|
| 246 | + */ |
|
| 243 | 247 | private function assertView($view, $html) |
| 244 | 248 | { |
| 245 | 249 | $client = static::createClient(); |
@@ -104,6 +104,9 @@ discard block |
||
| 104 | 104 | $this->assertRender($options); |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | + /** |
|
| 108 | + * @param integer $at |
|
| 109 | + */ |
|
| 107 | 110 | private function translatorExpectsPreviousAt($at) |
| 108 | 111 | { |
| 109 | 112 | $previous = $this->previous(); |
@@ -115,6 +118,9 @@ discard block |
||
| 115 | 118 | ->will($this->returnValue($previous)); |
| 116 | 119 | } |
| 117 | 120 | |
| 121 | + /** |
|
| 122 | + * @param integer $at |
|
| 123 | + */ |
|
| 118 | 124 | private function translatorExpectsNextAt($at) |
| 119 | 125 | { |
| 120 | 126 | $next = $this->next(); |
@@ -176,8 +182,14 @@ discard block |
||
| 176 | 182 | return $this->buildNextMessage($this->next()); |
| 177 | 183 | } |
| 178 | 184 | |
| 185 | + /** |
|
| 186 | + * @param string $text |
|
| 187 | + */ |
|
| 179 | 188 | abstract protected function buildPreviousMessage($text); |
| 180 | 189 | |
| 190 | + /** |
|
| 191 | + * @param string $text |
|
| 192 | + */ |
|
| 181 | 193 | abstract protected function buildNextMessage($text); |
| 182 | 194 | |
| 183 | 195 | public function testGetNameShouldReturnTheName() |