MyBuilder\Conductor\PackageZipperTest::test_it_should_zip_the_package PHP Метод

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

    public function test_it_should_zip_the_package()
    {
        $file = __DIR__ . '/fixtures/packages/package-a/composer.json';
        $zipPath = $this->packageZipper->zip(new \SplFileInfo($file));
        $this->assertZipContains(array('Package/composer.json' => file_get_contents($file), 'Package/replace_with_symlink.path' => __DIR__ . '/fixtures/packages/package-a'), $zipPath);
    }