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

testToString() public method

Tests the __toString() method.
public testToString ( )
    public function testToString()
    {
        $command = new AutomatorCommand('contao:automator');
        $command->setFramework($this->mockContaoFramework());
        $this->assertContains('The name of the task:', $command->__toString());
    }