eZ\Bundle\EzPublishDebugBundle\Tests\Collector\EzPublishCoreCollectorTest::testGetPanelTemplateNothing PHP Method

testGetPanelTemplateNothing() public method

    public function testGetPanelTemplateNothing()
    {
        $collector = $this->getMock('\\Symfony\\Component\\HttpKernel\\DataCollector\\DataCollectorInterface');
        $name = 'foobar';
        $collector->expects($this->once())->method('getName')->will($this->returnValue($name));
        $this->mainCollector->addCollector($collector);
        $this->assertNull($this->mainCollector->getPanelTemplate($name));
    }