<commit_before><?php
/**
 * This file is part of the Kappa\DoctrineHelpers package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the license.md
 * file that was distributed with this source code.
 *
 * @testCase
 */

namespace Kappa\DoctrineHelpers\Tests;

use Doctrine\Common\Collections\ArrayCollection;
use Kappa\DoctrineHelpers\Helpers\EntityManipulator;
use Nette\DI\Container;
use Tester\Assert;
use Tester\TestCase;

require_once __DIR__ . '/../../bootstrap.php';

/**
 * Class EntityManipulatorTest
 *
 * @package Kappa\DoctrineHelpers\Tests
 * @author <NAME> <http://zaruba-ondrej.cz>
 */
class EntityManipulatorTest extends TestCase
{
	/** @var EntityManipulator */
	private $entityManipulator;

	protected function setUp()
	{
		$this->entityManipulator = new EntityManipulator();
	}

	public function testInvoke()
	{
		$class = new TestClass();
		$data = [
			'one' => 'one',
			'two' => 'two',
			'categories' => $class,
			'pub_categories' => $class,
			'items' => $class,
			'pub_items' => $class,<commit_msg>Fixed wrorg namespace<commit_after><?php
/**
 * This file is part of the Kappa\DoctrineHelpers package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the license.md
 * file that was distributed with this source code.
 *
 * @testCase
 */

namespace KappaTests\DoctrineHelpers;

use Doctrine\Common\Collections\ArrayCollection;
use Kappa\DoctrineHelpers\Helpers\EntityManipulator;
use Tester\Assert;
use Tester\TestCase;

require_once __DIR__ . '/../../bootstrap.php';

/**
 * Class EntityManipulatorTest
 *
 * @package Kappa\DoctrineHelpers\Tests
 * @author <NAME> <http://zaruba-ondrej.cz>
 */
class EntityManipulatorTest extends TestCase
{
	/** @var EntityManipulator */
	private $entityManipulator;

	protected function setUp()
	{
		$this->entityManipulator = new EntityManipulator();
	}

	public function testInvoke()
	{
		$class = new TestClass();
		$data = [
			'one' => 'one',
			'two' => 'two',
			'categories' => $class,
			'pub_categories' => $class,
			'items' => $class,
			'pub_items' => $class,
{'fraction_non_alphanumeric': 0.14211764705882354, 'fraction_numerical': 0.0, 'mean_word_length': 4.1352657004830915, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 27, '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': '938469', 'n_tokens_mistral': 724, 'n_tokens_neox': 699, 'n_words': 173}