public function testSelectDBWithEmptyName() { $this->setExpectedException('Exception', 'Database name cannot be empty'); $this->getClient()->selectDB(''); }