Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
61 | public function testRender(int $date = null, string $author = null, array $optionArray = [], string $expect = null) : void |
||
62 | { |
||
63 | /* setup */ |
||
64 | |||
65 | $byline = new Byline($this->_registry, $this->_language); |
||
66 | $byline->init($optionArray); |
||
67 | |||
68 | /* actual */ |
||
69 | |||
70 | $actual = $byline->render($date, $author); |
||
71 | |||
72 | /* compare */ |
||
73 | |||
74 | $this->assertEquals($expect, $actual); |
||
75 | } |
||
76 | } |
||
77 |