function it_transforms_product_taxons_collection_to_taxon_collection(ProductTaxonInterface $firstProductTaxon, ProductTaxonInterface $secondProductTaxon, TaxonInterface $firstTaxon, TaxonInterface $secondTaxon)
{
$productTaxons = new ArrayCollection([$firstProductTaxon->getWrappedObject(), $secondProductTaxon->getWrappedObject()]);
$firstProductTaxon->getTaxon()->willReturn($firstTaxon);
$secondProductTaxon->getTaxon()->willReturn($secondTaxon);
$taxons = new ArrayCollection([$firstTaxon->getWrappedObject(), $secondTaxon->getWrappedObject()]);
$this->transform($productTaxons)->shouldBeCollection($taxons);
}