Contao\CoreBundle\Test\Command\InstallCommandTest::testInstantiation PHP 메소드

testInstantiation() 공개 메소드

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