PhpBench\Tests\Unit\Console\Command\UpdateCommandTest::testUpdateRollbackError PHP Method

testUpdateRollbackError() public method

It should show an error if it could not roll back.
    public function testUpdateRollbackError()
    {
        $input = new ArrayInput(['--rollback' => true], $this->command->getDefinition());
        $this->updater->rollback()->shouldBeCalled()->willReturn(false);
        $this->command->execute($input, $this->output);
    }