N98\Magento\Command\System\Setup\RemoveCommandTest::testSetupNameNotFound PHP Method

testSetupNameNotFound() public method

    public function testSetupNameNotFound()
    {
        $application = $this->getApplication();
        $application->add(new RemoveCommand());
        $command = $this->getApplication()->find('sys:setup:remove');
        $commandTester = new CommandTester($command);
        $this->setExpectedException('InvalidArgumentException', 'Error no setup found with the name: "no_setup_exists"');
        $commandTester->execute(array('command' => $command->getName(), 'module' => 'Mage_Weee', 'setup' => 'no_setup_exists'));
    }