public function testEnableDisableLayout() { $this->controller->disableLayout(); $this->assertFalse($this->controller->hasLayoutEnabled()); $this->controller->enableLayout(); $this->assertTrue($this->controller->hasLayoutEnabled()); }