| Total Complexity | 6 | 
| Total Lines | 44 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | class T3StatusTest extends \PHPUnit\Framework\TestCase  | 
            ||
| 17 | { | 
            ||
| 18 | private $object;  | 
            ||
| 19 | |||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * Sets up the fixture. This method is called before a test is executed.  | 
            ||
| 23 | */  | 
            ||
| 24 | protected function setUp() : void  | 
            ||
| 25 | 	{ | 
            ||
| 26 | $this->object = new \Aimeos\Base\Criteria\Plugin\T3Status();  | 
            ||
| 27 | }  | 
            ||
| 28 | |||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * Tears down the fixture. This method is called after a test is executed.  | 
            ||
| 32 | */  | 
            ||
| 33 | protected function tearDown() : void  | 
            ||
| 34 | 	{ | 
            ||
| 35 | unset( $this->object );  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | |||
| 39 | public function testTranslate()  | 
            ||
| 40 | 	{ | 
            ||
| 41 | $this->assertEquals( 0, $this->object->translate( 1 ) );  | 
            ||
| 42 | }  | 
            ||
| 43 | |||
| 44 | |||
| 45 | public function testTranslateDisabled()  | 
            ||
| 46 | 	{ | 
            ||
| 47 | $this->assertEquals( 1, $this->object->translate( 0 ) );  | 
            ||
| 48 | }  | 
            ||
| 49 | |||
| 50 | |||
| 51 | public function testReverse()  | 
            ||
| 52 | 	{ | 
            ||
| 53 | $this->assertEquals( 1, $this->object->reverse( 0 ) );  | 
            ||
| 54 | }  | 
            ||
| 55 | |||
| 56 | |||
| 57 | public function testReverseDisabled()  | 
            ||
| 60 | }  | 
            ||
| 61 | }  | 
            ||
| 62 |