Piwik\Plugins\TestRunner\Commands\TestsRunOnAws::getTestSuite PHP Method

getTestSuite() private method

private getTestSuite ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface
    private function getTestSuite(InputInterface $input)
    {
        $testsuite = $input->getArgument('testsuite');
        if (!empty($testsuite) && !in_array($testsuite, $this->allowedTestSuites)) {
            throw new \InvalidArgumentException('Test suite argument is wrong, use one of following: ' . implode(', ', $this->allowedTestSuites));
        }
        return $testsuite;
    }