Pyrech\ComposerChangelogs\tests\OperationHandler\InstallHandlerTest::test_it_gets_output_with_url_generator_no_supporting_compare_url PHP Метод

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

    public function test_it_gets_output_with_url_generator_no_supporting_compare_url()
    {
        $operation = new InstallOperation(new Package('acme/my-project', 'v1.0.0.0', 'v1.0.0'));
        $urlGenerator = new FakeUrlGenerator(true, false, 'https://example.com/acme/my-project/release/v1.0.1');
        $expectedOutput = [' - <fg=green>acme/my-project</fg=green> installed in version <fg=yellow>v1.0.0</fg=yellow>', '   Release notes: https://example.com/acme/my-project/release/v1.0.1'];
        $this->assertSame($expectedOutput, $this->SUT->getOutput($operation, $urlGenerator));
    }