for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license LGPLv3, https://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2016-2022
*/
namespace Aimeos\Base\DB\Connection;
class NoneTest extends \PHPUnit\Framework\TestCase
{
private $object;
protected function setUp() : void
$this->object = new \Aimeos\Base\DB\Connection\None();
}
protected function tearDown() : void
unset( $this->object );
public function testClose()
$this->expectException( \Aimeos\Base\DB\Exception::class );
$this->object->close();
public function testConnect()
$this->object->connect();
public function testCreate()
$this->object->create( 'SELECT' );
public function testGetRawObject()
$this->object->getRawObject();
public function testBegin()
$this->object->begin();
public function testCommit()
$this->object->commit();
public function testRollback()
$this->object->rollback();