Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function testValidFormat( |
||
21 | $value, |
||
22 | $expected, |
||
23 | FormatterOptions $options = null, |
||
24 | ValueFormatter $formatter = null |
||
25 | ) { |
||
26 | if ( $formatter === null ) { |
||
27 | $formatter = $this->getInstance( $options ); |
||
28 | } |
||
29 | |||
30 | $this->assertEquals( $expected, $formatter->format( $value ) ); |
||
31 | } |
||
32 | |||
34 |