1 | <?php |
||
18 | class StringFormatterTest extends ValueFormatterTestBase { |
||
19 | |||
20 | /** |
||
21 | * @deprecated since DataValues Interfaces 0.2, just use getInstance. |
||
22 | */ |
||
23 | protected function getFormatterClass() { |
||
26 | |||
27 | /** |
||
28 | * @see ValueFormatterTestBase::getInstance |
||
29 | * |
||
30 | * @param FormatterOptions|null $options |
||
31 | * |
||
32 | * @return StringFormatter |
||
33 | */ |
||
34 | protected function getInstance( FormatterOptions $options = null ) { |
||
37 | |||
38 | /** |
||
39 | * @see ValueFormatterTestBase::validProvider |
||
40 | */ |
||
41 | public function validProvider() { |
||
50 | |||
51 | /** |
||
52 | * @dataProvider invalidProvider |
||
53 | */ |
||
54 | public function testInvalidFormat( $value ) { |
||
59 | |||
60 | public function invalidProvider() { |
||
67 | |||
68 | } |
||
69 |