public function testToArray()
{
$expected = array('scheme' => 'tcp', 'host' => 'localhost', 'port' => null, 'path' => null, 'username' => null, 'password' => null, 'body' => array());
$result = $this->message->to('array');
$this->assertEqual($expected, $result);
}