/**
  * Get the given email body content
  *
  * @Route("/body/{id}", name="oro_email_body", requirements={"id"="\d+"})
  * @AclAncestor("oro_email_view")
  */
 public function bodyAction(EmailBody $entity)
 {
     return new Response($entity->getContent());
 }
 public function testContentGetterAndSetter()
 {
     $entity = new EmailBody();
     $entity->setContent('test');
     $this->assertEquals('test', $entity->getContent());
 }