eZ\Bundle\EzPublishCoreBundle\Tests\EventListener\ConsoleCommandListenerTest::testInvalidSiteAccess PHP Method

testInvalidSiteAccess() public method

    public function testInvalidSiteAccess()
    {
        $this->dispatcher->expects($this->never())->method('dispatch');
        $input = new ArrayInput(array('--siteaccess' => 'foo'), $this->inputDefinition);
        $event = new ConsoleCommandEvent($this->command, $input, $this->testOutput);
        $this->listener->onConsoleCommand($event);
    }