Contao\CoreBundle\Test\Command\UserPasswordCommandTest::testConfiguration PHP Method

testConfiguration() public method

Tests the command configuration.
public testConfiguration ( )
    public function testConfiguration()
    {
        $this->assertNotEmpty($this->command->getDescription());
        $definition = $this->command->getDefinition();
        $this->assertTrue($definition->hasArgument('username'));
        $this->assertTrue($definition->hasOption('password'));
    }