<commit_before><?php

/**
 * TEST: Basic functionality of FormControl.
 * @testCase
 *
 * @author    <NAME> <<EMAIL>>
 * @package   Form
 * @link      https://github.com/juniwalk/form
 * @copyright <NAME> (c) 2015
 * @license   MIT License
 */

namespace JuniWalk\Form\Tests\Cases;

use JuniWalk\Form\Tests\Files\IFormFactory;
use Tester\Assert;

require __DIR__.'/../bootstrap.php';

final class FormControlTest extends \Tester\TestCase
{
	/** @var Form */
	private $form;


	public function testIntegrity()
	{
		$form = $this->createForm();
		Assert::type('Nette\Localization\ITranslator', $form->getTranslator());
		Assert::type('Nette\Forms\IFormRenderer', $form->getRenderer());
	}


	public function testEventHandler()
	{<commit_msg>Remove now unsupported form renderer from tests<commit_after><?php

/**
 * TEST: Basic functionality of FormControl.
 * @testCase
 *
 * @author    <NAME> <<EMAIL>>
 * @package   Form
 * @link      https://github.com/juniwalk/form
 * @copyright <NAME>ka (c) 2015
 * @license   MIT License
 */

namespace JuniWalk\Form\Tests\Cases;

use JuniWalk\Form\Tests\Files\IFormFactory;
use Tester\Assert;

require __DIR__.'/../bootstrap.php';

final class FormControlTest extends \Tester\TestCase
{
	/** @var Form */
	private $form;


	public function testIntegrity()
	{
		$form = $this->createForm();
		Assert::type('Nette\Localization\ITranslator', $form->getTranslator());
	}


	public function testEventHandler()
	{
{'fraction_non_alphanumeric': 0.15272978576364893, 'fraction_numerical': 0.0055286800276434, 'mean_word_length': 4.098591549295775, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 16, 'https://': 2, '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': '1664800', 'n_tokens_mistral': 494, 'n_tokens_neox': 477, 'n_words': 104}