Exemplo n.º 1
0
 public function testPackageIdIsInteger()
 {
     $email = new Email();
     $email->setReplyId(10);
     $this->assertEquals($email->getReplyId(), 10);
     $this->assertInternalType('integer', $email->getReplyId());
 }
Exemplo n.º 2
0
 /**
  * @param Email $email
  *
  * @return object The response
  */
 public function sendMail(Email $email)
 {
     return $this->connection->get('sendMail', $email->toArray());
 }