<commit_before><?php
/**
 * The Opera Framework
 * WebApplication.php
 *
 * @author    <NAME> <<EMAIL>>
 * @copyright 2016 - 2017 All rights reserved
 * @license   MIT
 * @created   10-9-16
 * @version   1.0
 */

namespace Opera\Component\WebApplication;


use DOMDocument;
use DOMXPath;
use Opera\Component\Http\RequestInterface;
use PHPUnit\Framework\TestCase;

class WebApplicationTest extends TestCase
{

    public function testBasicGood()
    {
        $request = $this->getMockBuilder(RequestInterface::class)->getMock();
        $context = $this->getMockBuilder(Context::class)->getMock();

        $app = new WebApplication($request, $context);
        $response = $app->run();

        // TODO: Make some tests

    }

}<commit_msg>Maybe run unit test first...<commit_after><?php
/**
 * The Opera Framework
 * WebApplication.php
 *
 * @author    <NAME> <<EMAIL>>
 * @copyright 2016 - 2017 All rights reserved
 * @license   MIT
 * @created   10-9-16
 * @version   1.0
 */

namespace Opera\Component\WebApplication;


use DOMDocument;
use DOMXPath;
use Opera\Component\Http\RequestInterface;
use PHPUnit\Framework\TestCase;

class WebApplicationTest extends TestCase
{

    public function testBasicGood()
    {
        $request = $this->getMockBuilder(RequestInterface::class)->getMock();
        $context = $this->getMockBuilder(Context::class)->getMock();

        $app = new WebApplication($context);
        $response = $app->run($request);

        // TODO: Make some tests

    }

}
{'fraction_non_alphanumeric': 0.13360053440213762, 'fraction_numerical': 0.02004008016032064, 'mean_word_length': 3.31700288184438, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, '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': '6982358', 'n_tokens_mistral': 463, 'n_tokens_neox': 431, 'n_words': 105}