<commit_before><?php

namespace Votifier\Client;

use Votifier\Client\Vote;

class VoteTest extends \PHPUnit_Framework_TestCase
{
    private $vote = null;

    /**
     * Setup the test enviroment.
     */
    public function setUp()
    {
        $this->vote = new Vote('manuele.ddns.net',
                               '8192',
                               '<KEY>',
                               'D3strukt0r',
                               'VotifierPHP-Test',
                               '127.0.0.1');
    }

    /**
     * Teardown the test environment.
     */
    public function tearDown()
    {
        $this->vote = null;
    }

    /**
     * Test instance of $this->vote.
     *
     * @test
     */
    public function testInstanceOf()
    {
        $this->assertInstanceOf('Votifier\Client\Vote', $this->vote);
    }

    /**
     * Test vote return the value true.
     *
     * @test
     */
    public function testValidResult()<commit_msg>Updated server address<commit_after><?php

namespace Votifier\Client;

use Votifier\Client\Vote;

class VoteTest extends \PHPUnit_Framework_TestCase
{
    private $vote = null;

    /**
     * Setup the test enviroment.
     */
    public function setUp()
    {
        $this->vote = new Vote('play.orbitrondev.org',
                               '8192',
                               '<KEY>',
                               'D3strukt0r',
                               'Votifier-PHP-Client Test',
                               '127.0.0.1');
    }

    /**
     * Teardown the test environment.
     */
    public function tearDown()
    {
        $this->vote = null;
    }

    /**
     * Test instance of $this->vote.
     *
     * @test
     */
    public function testInstanceOf()
    {
        $this->assertInstanceOf('Votifier\Client\Vote', $this->vote);
    }

    /**
     * Test vote return the value true.
     *
     * @test
     */
    public function testValidResult()
{'fraction_non_alphanumeric': 0.120698510529019, 'fraction_numerical': 0.012326656394453005, 'mean_word_length': 1.3273596176821982, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6594292', 'n_tokens_mistral': 585, 'n_tokens_neox': 571, 'n_words': 114}