public function testOrganization() { $template = new EmailTemplate(); $organization = new Organization(); $this->assertNull($template->getOrganization()); $template->setOrganization($organization); $this->assertEquals($organization, $template->getOrganization()); }