<commit_before><?php
namespace Probesys\Bundle\PostBundle\Tests\Entity;

use Probesys\Bundle\PostBundle\Entity\Post;

class PostTest extends \PHPUnit_Framework_TestCase
{
    public function testConstructor()
    {
        $post = new Post();
        $post->setPostTitle("My post");
        $post->setPostType("post");

        $this->assertEquals($post->getPostTitle(), "My post");
        $this->assertEquals($post, "My post");
        $this->assertEquals($post->getPostType(), "post");
    }
}<commit_msg>Added test for postDate<commit_after><?php
namespace Probesys\Bundle\PostBundle\Tests\Entity;

use Probesys\Bundle\PostBundle\Entity\Post;

class PostTest extends \PHPUnit_Framework_TestCase
{
    public function testConstructor()
    {
        $post = new Post();
        $post->setPostTitle("My post");
        $post->setPostType("post");
        $post->setPostDate("2012-10-15 08:12:47");

        $this->assertEquals($post->getPostTitle(), "My post");
        $this->assertEquals($post, "My post");
        $this->assertEquals($post->getPostType(), "post");
        $this->assertEquals($post->getPostDate(), "2012-10-15 08:12:47");
    }
}
{'fraction_non_alphanumeric': 0.16681146828844484, 'fraction_numerical': 0.02432667245873154, 'mean_word_length': 3.608, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 20, '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': '933366', 'n_tokens_mistral': 364, 'n_tokens_neox': 344, 'n_words': 60}