Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
2 / 2 |
Migrator_Controller_Test | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
controller_class_must_implements_controller_contract_rule | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
<?php | |
/** | |
* @coversDefaultClass Migrator_Controller | |
*/ | |
class Migrator_Controller_Test extends WP_UnitTestCase { | |
/** | |
* @test | |
*/ | |
public function controller_class_must_implements_controller_contract_rule() { | |
$this->assertArrayHasKey( 'Migrator_Is_Controller', class_implements( 'Migrator_Controller' ), 'Migrator_Controller Class must implements Migrator_Is_Controller interface' ); | |
} | |
} |