function it_reverse_transforms_into_array_of_products_codes(ProductInterface $axes, ProductInterface $shields) { $axes->getCode()->willReturn('axes'); $shields->getCode()->willReturn('shields'); $this->reverseTransform(new ArrayCollection([$axes->getWrappedObject(), $shields->getWrappedObject()]))->shouldReturn(['axes', 'shields']); }