function testEmailTemplateExists()
 {
     $recipient = new UserDefinedForm_EmailRecipient();
     // Set the default template
     $recipient->EmailTemplate = current(array_keys($recipient->getEmailTemplateDropdownValues()));
     $recipient->write();
     // The default template exists
     $this->assertTrue($recipient->emailTemplateExists());
     // A made up template doesn't exists
     $this->assertFalse($recipient->emailTemplateExists('MyTemplateThatsNotThere'));
     $recipient->delete();
 }