Composer\Satis\Builder\PackagesBuilderDumpTest::testNotifyBatch PHP Method

testNotifyBatch() public method

public testNotifyBatch ( )
    public function testNotifyBatch()
    {
        $packagesBuilder = new PackagesBuilder(new NullOutput(), vfsStream::url('build'), ['notify-batch' => 'http://localhost:54715/notify', 'repositories' => [['type' => 'composer', 'url' => 'http://localhost:54715']], 'require' => ['vendor/name' => '*']], false);
        $packagesBuilder->dump(self::createPackages(1));
        $packagesJson = JsonFile::parseJson($this->root->getChild('build/packages.json')->getContent());
        $this->assertEquals('http://localhost:54715/notify', $packagesJson['notify-batch']);
    }