1 | <?php |
||
16 | class DataTypeTest extends PHPUnit_Framework_TestCase { |
||
17 | |||
18 | protected function setUp() { |
||
19 | parent::setUp(); |
||
20 | |||
21 | Message::registerTextFunction( function( $key, $languageCode ) { |
||
22 | return implode( '|', func_get_args() ); |
||
23 | } ); |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @dataProvider invalidConstructorArgumentsProvider |
||
28 | */ |
||
29 | public function testConstructorThrowsException( $propertyType, $valueType ) { |
||
33 | |||
34 | public function invalidConstructorArgumentsProvider() { |
||
42 | |||
43 | public function testGetId() { |
||
47 | |||
48 | public function testGetDataValueType() { |
||
52 | |||
53 | public function testGetLabel() { |
||
57 | |||
58 | public function testToArray() { |
||
62 | |||
63 | } |
||
64 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.