/** * Tests whether a DB object can be constructed from a DSN string using the connection objects * provided by the <code>setUpBeforeClass()</code> method. * * @covers empire\framework\db\DB::constructFromDSN */ public function testConstructFromDSN() { foreach (self::$connections as $connection) { $dsn = $connection->getDSN(); $db = DB::constructFromDSN($dsn); $this->assertInstanceOf('empire\\framework\\db\\DB', $db); } }