| Total Complexity | 9 | 
| Total Lines | 63 | 
| Duplicated Lines | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 11 | class NoneTest extends \PHPUnit\Framework\TestCase  | 
            ||
| 12 | { | 
            ||
| 13 | private $object;  | 
            ||
| 14 | |||
| 15 | |||
| 16 | protected function setUp() : void  | 
            ||
| 17 | 	{ | 
            ||
| 18 | $this->object = new \Aimeos\Base\DB\Connection\None();  | 
            ||
| 19 | }  | 
            ||
| 20 | |||
| 21 | |||
| 22 | protected function tearDown() : void  | 
            ||
| 25 | }  | 
            ||
| 26 | |||
| 27 | |||
| 28 | public function testClose()  | 
            ||
| 29 | 	{ | 
            ||
| 30 | $this->expectException( \Aimeos\Base\DB\Exception::class );  | 
            ||
| 31 | $this->object->close();  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | |||
| 35 | public function testConnect()  | 
            ||
| 36 | 	{ | 
            ||
| 37 | $this->expectException( \Aimeos\Base\DB\Exception::class );  | 
            ||
| 38 | $this->object->connect();  | 
            ||
| 39 | }  | 
            ||
| 40 | |||
| 41 | |||
| 42 | public function testCreate()  | 
            ||
| 43 | 	{ | 
            ||
| 44 | $this->expectException( \Aimeos\Base\DB\Exception::class );  | 
            ||
| 45 | $this->object->create( 'SELECT' );  | 
            ||
| 46 | }  | 
            ||
| 47 | |||
| 48 | |||
| 49 | public function testGetRawObject()  | 
            ||
| 50 | 	{ | 
            ||
| 51 | $this->expectException( \Aimeos\Base\DB\Exception::class );  | 
            ||
| 52 | $this->object->getRawObject();  | 
            ||
| 53 | }  | 
            ||
| 54 | |||
| 55 | |||
| 56 | public function testBegin()  | 
            ||
| 57 | 	{ | 
            ||
| 58 | $this->expectException( \Aimeos\Base\DB\Exception::class );  | 
            ||
| 59 | $this->object->begin();  | 
            ||
| 60 | }  | 
            ||
| 61 | |||
| 62 | |||
| 63 | public function testCommit()  | 
            ||
| 64 | 	{ | 
            ||
| 65 | $this->expectException( \Aimeos\Base\DB\Exception::class );  | 
            ||
| 66 | $this->object->commit();  | 
            ||
| 67 | }  | 
            ||
| 68 | |||
| 69 | |||
| 70 | public function testRollback()  | 
            ||
| 74 | }  | 
            ||
| 75 | }  | 
            ||
| 76 |