markTestSkipped(); } } public function testConstructorNoDatabaseName() { try { // we'll create an instance of the correct type simply by making a similar one to the default. $db = ezcDbInstance::get(); $className = get_class( $db ); $db = new $className( array() ); $this->fail( "Instantiating a handler with no database name should not be successful" ); } catch( ezcDbMissingParameterException $e ) {} } public static function suite() { return new PHPUnit_Framework_TestSuite( "ezcDatabaseHandlerTest" ); } } ?>