<commit_before><?php
/**
 * Webino (http://webino.sk/)
 *
 * @link        https://github.com/webino/WebinoDev/ for the canonical source repository
 * @copyright   Copyright (c) 2014 Webino, s. r. o. (http://webino.sk/)
 * @license     BSD-3-Clause
 */

namespace WebinoDev;

/**
 * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-10-12 at 17:20:06.
 */
class ModuleTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var Module
     */
    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 Module;
    }

    /**
     * @covers WebinoDev\Module::init
     */
    public function testInit()
    {
        $this->object->init();
        $this->assertTrue(function_exists('d'));
        $this->assertTrue(function_exists('dd'));
    }

    /**
     * @covers WebinoDev\Module::getConfig
     */
    public function testGetConfig()
    {
        $this->assertTrue(is_array($this->object->getConfig()));
    }
}
<commit_msg>Updated ModuleTest, added Allure titles<commit_after><?php
/**
 * Webino (http://webino.sk/)
 *
 * @link        https://github.com/webino/WebinoDev/ for the canonical source repository
 * @copyright   Copyright (c) 2014 Webino, s. r. o. (http://webino.sk/)
 * @license     BSD-3-Clause
 */

namespace WebinoDev;

use Yandex\Allure\Adapter\Annotation\Title;

/**
 * @Title("WebinDev module tests")
 */
class ModuleTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var Module
     */
    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 Module;
    }

    /**
     * @Title("Module initialization")
     * @covers WebinoDev\Module::init
     */
    public function testInit()
    {
        $this->object->init();
        $this->assertTrue(function_exists('d'));
        $this->assertTrue(function_exists('dd'));
    }

    /**
     * @Title("Module getConfig()")
     * @covers WebinoDev\Module::getConfig
     */
    public function testGetConfig()
    {
        $this->assertTrue(is_array($this->object->getConfig()));
    }
}

{'fraction_non_alphanumeric': 0.14913793103448275, 'fraction_numerical': 0.01163793103448276, 'mean_word_length': 2.464179104477612, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '7462782', 'n_tokens_mistral': 732, 'n_tokens_neox': 714, 'n_words': 161}