public function testSelectCollectionEmptyName() { $database = $this->getDatabase(); $this->setExpectedException('Exception', 'Collection name cannot be empty'); $database->selectCollection(''); }