/**
  * Test clone, toString
  */
 public function testCloneAndToString()
 {
     $translation = $this->getMock('Oro\\Bundle\\EmailBundle\\Entity\\EmailTemplateTranslation');
     $this->emailTemplate->getTranslations()->add($translation);
     $clone = clone $this->emailTemplate;
     $this->assertNull($clone->getId());
     $this->assertEquals($clone->getParent(), $this->emailTemplate->getId());
     $this->assertFalse($clone->getIsSystem());
     $this->assertTrue($clone->getIsEditable());
     $this->assertEquals($this->emailTemplate->getName(), (string) $this->emailTemplate);
     $this->assertFalse($clone->getTranslations()->first() === $translation);
 }