<commit_before><?php
namespace Kunstmaan\FormBundle\Tests\Entity;
use Kunstmaan\FormBundle\Entity\FormSubmissionField;
use Kunstmaan\FormBundle\Entity\FormSubmission;

/**
 * Generated by PHPUnit_SkeletonGenerator on 2012-09-20 at 15:15:06.
 */
class FormSubmissionFieldTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var FormSubmissionField
     */
    protected $object;

    /**
     * Sets up the fixture, for example, opens a network connection.
     * This method is called before a test is executed.
     */
    protected function setUp()
    {
        $this->object = new FormSubmissionField;
    }

    /**
     * Tears down the fixture, for example, closes a network connection.
     * This method is called after a test is executed.
     */
    protected function tearDown()
    {
    }

    /**
     * @covers Kunstmaan\FormBundle\Entity\FormSubmissionField::getId
     * @covers Kunstmaan\FormBundle\Entity\FormSubmissionField::setId
     */
    public function testSetGetId()
    {
        $object = $this->object;
        $id = 123;
        $object->setId($id);
        $this->assertEquals($id, $object->getId());
    }<commit_msg>Fix "Cannot instantiate abstract class"<commit_after><?php
namespace Kunstmaan\FormBundle\Tests\Entity;
use Kunstmaan\FormBundle\Entity\FormSubmissionFieldTypes\StringFormSubmissionField;
use Kunstmaan\FormBundle\Entity\FormSubmission;

/**
 * Generated by PHPUnit_SkeletonGenerator on 2012-09-20 at 15:15:06.
 */
class FormSubmissionFieldTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var FormSubmissionField
     */
    protected $object;

    /**
     * Sets up the fixture, for example, opens a network connection.
     * This method is called before a test is executed.
     */
    protected function setUp()
    {
        $this->object = new StringFormSubmissionField();
    }

    /**
     * Tears down the fixture, for example, closes a network connection.
     * This method is called after a test is executed.
     */
    protected function tearDown()
    {
    }

    /**
     * @covers Kunstmaan\FormBundle\Entity\FormSubmissionField::getId
     * @covers Kunstmaan\FormBundle\Entity\FormSubmissionField::setId
     */
    public function testSetGetId()
    {
        $object = $this->object;
        $id = 123;
        $object->setId($id);
        $this->assertEquals($id, $object->getId());
    }
{'fraction_non_alphanumeric': 0.1080285834384195, 'fraction_numerical': 0.014291719209751997, 'mean_word_length': 2.8636363636363638, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '5701195', 'n_tokens_mistral': 723, 'n_tokens_neox': 698, 'n_words': 171}