コード例 #1
0
 public function testDefaultTemplateOptionsValues()
 {
     $this->assertEquals('ac-mailer/mail-templates/mail', $this->templateOptions->getPath());
     $this->assertEquals([], $this->templateOptions->getParams());
     $this->assertCount(0, $this->templateOptions->getParams());
     $this->assertEquals([], $this->templateOptions->getChildren());
     $this->assertCount(0, $this->templateOptions->getChildren());
     $this->assertEquals([], $this->templateOptions->getDefaultLayout());
 }
コード例 #2
0
 public function testDefaultTemplateOptionsValues()
 {
     $this->assertFalse($this->templateOptions->getUseTemplate());
     $this->assertEquals('ac-mailer/mail-templates/mail', $this->templateOptions->getPath());
     $this->assertEquals(array(), $this->templateOptions->getParams());
     $this->assertCount(0, $this->templateOptions->getParams());
     $this->assertEquals(array(), $this->templateOptions->getChildren());
     $this->assertCount(0, $this->templateOptions->getChildren());
 }