public function testSelectNonexistantDatabaseFails() { $dsn = $this->dsn->copy(array('database' => '')); $conn = new Mysqli\Connection($dsn); $this->setExpectedException('\\Pheasant\\Database\\Mysqli\\Exception'); $conn->selectDatabase('llamassddfasdfsdfsdf'); }