public static function processProductTypesFixtures(callable $elementCallback)
    {
        $file = dirname(__FILE__) . '/../../product-types.xml';
        $doc = new \DOMDocument();
        $doc->load($file);

        $xpath = new \DOMXpath($doc);
        $elements = $xpath->query('/product-types/product-type');

        if (!is_null($elements)) {
            /** @var \DOMNode $element */
            foreach ($elements as $element) {
                $elementCallback($element);
            }
        }
    }