<commit_before><?php
/**
 * Created by PhpStorm.
 * User: isselguberna
 * Date: 29/9/15
 * Time: 23:48
 */

namespace Nats\tests\Unit;

use Nats\ConnectionOptions;

/**
 * Class ConnectionOptionsTest
 */
class ConnectionOptionsTest extends \PHPUnit_Framework_TestCase
{
    /**
     * Tests Connection Options getters and setters. Only necessary for code coverage.
     *
     * @return void
     */
    public function testSettersAndGetters()
    {
        $options = new ConnectionOptions();
        $options
            ->setHost('host')
            ->setPort(4222)
            ->setUser('user')
            ->setPass('password')
            ->setLang('lang')
            ->setVersion('version')
            ->setVerbose(true)
            ->setPedantic(true)
            ->setReconnect(true);

        $this->assertEquals('host', $options->getHost());
        $this->assertEquals(4222, $options->getPort());
        $this->assertEquals('user', $options->getUser());
        $this->assertEquals('password', $options->getPass());
        $this->assertEquals('lang', $options->getLang());
        $this->assertEquals('version', $options->getVersion());
        $this->assertTrue($options->isVerbose());
        $this->assertTrue($options->isPedantic());
        $this->assertTrue($options->isReconnect());
    }
}
<commit_msg>Clean shitty phpstorm comment :(<commit_after><?php
namespace Nats\tests\Unit;

use Nats\ConnectionOptions;

/**
 * Class ConnectionOptionsTest
 */
class ConnectionOptionsTest extends \PHPUnit_Framework_TestCase
{
    /**
     * Tests Connection Options getters and setters. Only necessary for code coverage.
     *
     * @return void
     */
    public function testSettersAndGetters()
    {
        $options = new ConnectionOptions();
        $options
            ->setHost('host')
            ->setPort(4222)
            ->setUser('user')
            ->setPass('password')
            ->setLang('lang')
            ->setVersion('version')
            ->setVerbose(true)
            ->setPedantic(true)
            ->setReconnect(true);

        $this->assertEquals('host', $options->getHost());
        $this->assertEquals(4222, $options->getPort());
        $this->assertEquals('user', $options->getUser());
        $this->assertEquals('password', $options->getPass());
        $this->assertEquals('lang', $options->getLang());
        $this->assertEquals('version', $options->getVersion());
        $this->assertTrue($options->isVerbose());
        $this->assertTrue($options->isPedantic());
        $this->assertTrue($options->isReconnect());
    }
}

{'fraction_non_alphanumeric': 0.163312693498452, 'fraction_numerical': 0.009674922600619196, 'mean_word_length': 2.6153846153846154, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 57, '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': '3936327', 'n_tokens_mistral': 721, 'n_tokens_neox': 707, 'n_words': 123}