Contao\CoreBundle\Test\Command\FilesyncCommandTest::testOutput PHP Method

testOutput() public method

Tests the output.
public testOutput ( )
    public function testOutput()
    {
        $command = new FilesyncCommand('contao:filesync');
        $command->setFramework($this->mockContaoFramework());
        $tester = new CommandTester($command);
        $code = $tester->execute([]);
        $this->assertEquals(0, $code);
        $this->assertContains('Synchronization complete (see sync.log).', $tester->getDisplay());
    }