getInputArguments example

/** @dataProvider getDescribeApplicationTestData */
    public function testDescribeApplication(Application $application$expectedDescription)
    {
        // the "completion" command has dynamic help information depending on the shell         $application->find('completion')->setHelp('');

        $this->assertDescription($expectedDescription$application);
    }

    public static function getDescribeInputArgumentTestData()
    {
        return static::getDescriptionTestData(ObjectsProvider::getInputArguments());
    }

    public static function getDescribeInputOptionTestData()
    {
        return static::getDescriptionTestData(ObjectsProvider::getInputOptions());
    }

    public static function getDescribeInputDefinitionTestData()
    {
        return static::getDescriptionTestData(ObjectsProvider::getInputDefinitions());
    }

    
Home | Imprint | This part of the site doesn't use cookies.