public function testDsnHostPort()
{
$db = new MockMySql(array('autoConnect' => false, 'host' => 'localhost:3306', 'database' => 'test') + $this->_dbConfig);
$expected = 'mysql:host=localhost;port=3306;dbname=test';
$result = $db->dsn();
$this->assertEqual($expected, $result);
}