| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class StandardTest extends \PHPUnit\Framework\TestCase |
||
| 7 | { |
||
| 8 | private $object; |
||
| 9 | |||
| 10 | |||
| 11 | protected function setUp() : void |
||
| 12 | { |
||
| 13 | $row = array( 'id' => 1, 'message' => 'test', 'cname', 'unittest', 'rtime' => '2000-01-01 00:00:00' ); |
||
| 14 | $this->object = new \Aimeos\Base\MQueue\Message\Standard( $row ); |
||
| 15 | } |
||
| 16 | |||
| 17 | |||
| 18 | protected function tearDown() : void |
||
| 19 | { |
||
| 20 | unset( $this->object ); |
||
| 21 | } |
||
| 22 | |||
| 23 | |||
| 24 | public function testId() |
||
| 25 | { |
||
| 26 | $this->assertEquals( '1', $this->object->getId() ); |
||
| 27 | } |
||
| 28 | |||
| 29 | |||
| 30 | public function testBody() |
||
| 33 | } |
||
| 34 | |||
| 35 | |||
| 36 | public function testToString() |
||
| 41 |