Exemple #1
0
 public function testInitialState()
 {
     $this->assertTrue($this->ckEditorType->isEnable());
     $this->assertSame('bundles/ckeditor/', $this->ckEditorType->getBasePath());
     $this->assertSame('bundles/ckeditor/ckeditor.js', $this->ckEditorType->getJsPath());
     $this->assertSame($this->configManagerMock, $this->ckEditorType->getConfigManager());
     $this->assertSame($this->pluginManagerMock, $this->ckEditorType->getPluginManager());
     $this->assertSame($this->stylesSetManagerMock, $this->ckEditorType->getStylesSetManager());
     $this->assertSame($this->templateManagerMock, $this->ckEditorType->getTemplateManager());
 }