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

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

    public function test_it_should_throw_an_mismatch_exception_when_zip_and_package_checksum_does_not_match()
    {
        $zipPath = $this->packageZipper->zip(new \SplFileInfo(__DIR__ . '/fixtures/packages/package-a/composer.json'));
        $this->setExpectedException('MyBuilder\\Conductor\\Exception\\ChecksumMismatchException');
        $zipPath = $this->packageZipper->zip(new \SplFileInfo(__DIR__ . '/fixtures/packages/package-a-changed/composer.json'));
    }