Pyrech\ComposerChangelogs\tests\ChangelogsPluginTest::test_it_is_registered_and_activated PHP Метод

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

    public function test_it_is_registered_and_activated()
    {
        $plugin = new ChangelogsPlugin();
        $this->addComposerPlugin($plugin);
        $this->assertSame([$plugin], $this->composer->getPluginManager()->getPlugins());
        $this->assertAttributeInstanceOf('Composer\\IO\\IOInterface', 'io', $plugin);
        $this->assertAttributeInstanceOf('Pyrech\\ComposerChangelogs\\Outputter', 'outputter', $plugin);
    }