public function testSend()
 {
     $this->getServer()->enqueue($this->getMockResponse('send')->getMessage());
     $recipient = new Recipient();
     $recipient->email = '*****@*****.**';
     $recipient->name = 'Recipient Name';
     $recipient->addMergeVar('NAME', $recipient->name);
     $message = new Message();
     $message->addRecipient($recipient);
     $message->text = 'Hello, *|NAME|*!';
     $message->subject = 'Test';
     $message->from_email = '*****@*****.**';
     $message->from_name = 'Mandrill API Test';
     $response = $this->messages->send($message);
     $this->assertGreaterThan(0, sizeof($response));
     $this->assertEquals('sent', $response[0]['status']);
 }