Contao\CoreBundle\Test\Command\AutomatorCommandTest::testInstantiation PHP Method

testInstantiation() public method

Tests the object instantiation.
public testInstantiation ( )
    public function testInstantiation()
    {
        $command = new AutomatorCommand('contao:automator');
        $this->assertInstanceOf('Contao\\CoreBundle\\Command\\AutomatorCommand', $command);
        $this->assertEquals('contao:automator', $command->getName());
    }