public function testDsnSocket()
{
$db = new MockMySql(array('autoConnect' => false, 'host' => '/tmp/foo/bar.socket', 'database' => 'test') + $this->_dbConfig);
$expected = 'mysql:unix_socket=/tmp/foo/bar.socket;dbname=test';
$result = $db->dsn();
$this->assertEqual($expected, $result);
}