<commit_before><?php

namespace Tests\Shopware\Bepado;


use Bepado\SDK\Struct\Product;
use Doctrine\Common\Util\Debug;
use Shopware\Bepado\Components\Config;
use Shopware\Bepado\Components\Gateway\ProductTranslationsGateway\PdoProductTranslationsGateway;
use Shopware\Bepado\Components\Marketplace\MarketplaceGateway;
use Shopware\Bepado\Components\ProductToShop;
use Shopware\Bepado\Components\VariantConfigurator;

class ProductToShopTest extends BepadoTestHelper
{
    /** @var  \Shopware\Bepado\Components\ProductToShop */
    private $productToShop;

    private $modelManager;

    public function setUp()
    {
        $this->modelManager = Shopware()->Models();
        $this->productToShop = new ProductToShop(
            $this->getHelper(),
            $this->modelManager,
            $this->getImageImport(),
            new Config($this->modelManager),
            new VariantConfigurator(
                $this->modelManager,
                new PdoProductTranslationsGateway(Shopware()->Db())
            ),
            new MarketplaceGateway($this->modelManager),
            new PdoProductTranslationsGateway(Shopware()->Db())
        );
    }<commit_msg>Removed debug usage<commit_after><?php

namespace Tests\Shopware\Bepado;


use Bepado\SDK\Struct\Product;
use Shopware\Bepado\Components\Config;
use Shopware\Bepado\Components\Gateway\ProductTranslationsGateway\PdoProductTranslationsGateway;
use Shopware\Bepado\Components\Marketplace\MarketplaceGateway;
use Shopware\Bepado\Components\ProductToShop;
use Shopware\Bepado\Components\VariantConfigurator;

class ProductToShopTest extends BepadoTestHelper
{
    /** @var  \Shopware\Bepado\Components\ProductToShop */
    private $productToShop;

    private $modelManager;

    public function setUp()
    {
        $this->modelManager = Shopware()->Models();
        $this->productToShop = new ProductToShop(
            $this->getHelper(),
            $this->modelManager,
            $this->getImageImport(),
            new Config($this->modelManager),
            new VariantConfigurator(
                $this->modelManager,
                new PdoProductTranslationsGateway(Shopware()->Db())
            ),
            new MarketplaceGateway($this->modelManager),
            new PdoProductTranslationsGateway(Shopware()->Db())
        );
    }
{'fraction_non_alphanumeric': 0.10766580534022395, 'fraction_numerical': 0.0, 'mean_word_length': 3.118794326241135, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1358219', 'n_tokens_mistral': 661, 'n_tokens_neox': 659, 'n_words': 98}