1 | <?php |
||
18 | class MonolingualTextValueTest extends DataValueTest { |
||
19 | |||
20 | /** |
||
21 | * @see DataValueTest::getClass |
||
22 | * |
||
23 | * @return string |
||
24 | */ |
||
25 | public function getClass() { |
||
26 | return 'DataValues\MonolingualTextValue'; |
||
27 | } |
||
28 | |||
29 | public function validConstructorArgumentsProvider() { |
||
35 | |||
36 | public function invalidConstructorArgumentsProvider() { |
||
50 | |||
51 | public function testNewFromArray() { |
||
56 | |||
57 | /** |
||
58 | * @dataProvider invalidArrayProvider |
||
59 | */ |
||
60 | public function testNewFromArrayWithInvalidArray( array $array ) { |
||
64 | |||
65 | public function invalidArrayProvider() { |
||
75 | |||
76 | public function testGetSortKey() { |
||
80 | |||
81 | /** |
||
82 | * @dataProvider instanceProvider |
||
83 | */ |
||
84 | public function testGetText( MonolingualTextValue $text, array $arguments ) { |
||
87 | |||
88 | /** |
||
89 | * @dataProvider instanceProvider |
||
90 | */ |
||
91 | public function testGetLanguageCode( MonolingualTextValue $text, array $arguments ) { |
||
94 | |||
95 | } |
||
96 |