Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class StatusesTest extends \PHPUnit_Framework_TestCase { |
||
19 | /** |
||
20 | * Test transform. |
||
21 | * |
||
22 | * @dataProvider states_matrix_provider |
||
23 | */ |
||
24 | public function test_transform( $state, $expected ) { |
||
25 | $status = Statuses::transform( $state ); |
||
26 | |||
27 | $this->assertEquals( $expected, $status ); |
||
28 | } |
||
29 | |||
30 | public function states_matrix_provider() { |
||
35 | ); |
||
36 | } |
||
38 |