public function testValueGetterAndSetter() { $entity = new EmailAttachmentContent(); $entity->setValue('test'); $this->assertEquals('test', $entity->getValue()); }
/** * Create EmailAttachmentContent entity object * * @param string $content The attachment content encoded as it is specified in $contentTransferEncoding parameter * @param string $contentTransferEncoding The attachment content encoding type * @return EmailAttachmentContent */ public function attachmentContent($content, $contentTransferEncoding) { $result = new EmailAttachmentContent(); $result->setValue($content)->setContentTransferEncoding($contentTransferEncoding); return $result; }