/**
  * Test on the send mail with categories
  */
 public function testSendMailWithCategories()
 {
     $this->sendGridMailer->setCategories(['testCategory'])->prepare('*****@*****.**', 'fromTestWithCategory', ['*****@*****.**'], 'test subject with category', 'test body with category')->send();
     \Phake::verify($this->sendGrid)->send(\Phake::anyParameters());
 }
 /**
  * Test on the send mail with categories
  */
 public function testSendMailWithCategories()
 {
     $result = $this->sendGridMailer->setCategories(['testCategory'])->prepare('*****@*****.**', 'fromTestWithCategory', ['*****@*****.**'], 'test subject with category', 'test body with category')->send();
     $this->assertTrue($result);
 }