<commit_before><?php
/**
 * @author <NAME> <<EMAIL>>
 */

class RequestTest extends \PHPUnit_Framework_TestCase
{
    public function testRequest()
    {
        $_SERVER['REQUEST_URI'] = '/';

        $request = \Owl\Http\Request::createFromGlobals();
        $this->assertEquals('/', $request->getUri());
    }
} <commit_msg>Http\Request - added test for getMethod<commit_after><?php
/**
 * @author <NAME> <<EMAIL>>
 */

use Owl\Http\Request;

class RequestTest extends \PHPUnit_Framework_TestCase
{
    public function testRequest()
    {
        $_SERVER['REQUEST_URI'] = '/';

        $request = Request::createFromGlobals();
        
        $this->assertEquals('/', $request->getUri());
        $this->assertEquals(Request::GET, $request->getMethod());
    }
} 
{'fraction_non_alphanumeric': 0.17708333333333334, 'fraction_numerical': 0.0, 'mean_word_length': 3.202185792349727, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '1868354', 'n_tokens_mistral': 233, 'n_tokens_neox': 232, 'n_words': 40}