PhpBench\Tests\Unit\Console\Command\UpdateCommandTest::testUpdateNotRequired PHP Метод

testUpdateNotRequired() публичный Метод

It should show a message if no update is required.
    public function testUpdateNotRequired()
    {
        $input = new ArrayInput([], $this->command->getDefinition());
        $this->updater->update()->shouldBeCalled()->willReturn(false);
        $this->command->execute($input, $this->output);
        $this->assertContains('No update required', $this->output->fetch());
    }