diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-01-18 19:01:34 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-07 16:54:08 +0200 |
commit | 3c088292050982505726f5136ff4d0f1a918b879 (patch) | |
tree | 8d0e03947935ceb994ef6f8fe01af81bbb268b14 /tests/Unit/Http/RequestTest.php | |
parent | 2f41b9e4418def9b69cf237312bc592364585025 (diff) |
Added Http\Response and Psr7{Request,Response}
Diffstat (limited to 'tests/Unit/Http/RequestTest.php')
-rw-r--r-- | tests/Unit/Http/RequestTest.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/Unit/Http/RequestTest.php b/tests/Unit/Http/RequestTest.php index a68f8b8f..f8444b84 100644 --- a/tests/Unit/Http/RequestTest.php +++ b/tests/Unit/Http/RequestTest.php @@ -5,10 +5,20 @@ namespace Engelsystem\Test\Unit\Http; use Engelsystem\Http\Request; use PHPUnit\Framework\TestCase; use PHPUnit_Framework_MockObject_MockObject as MockObject; +use Symfony\Component\HttpFoundation\Request as SymfonyRequest; class RequestTest extends TestCase { /** + * @covers \Engelsystem\Http\Request + */ + public function testCreate() + { + $response = new Request(); + $this->assertInstanceOf(SymfonyRequest::class, $response); + } + + /** * @covers \Engelsystem\Http\Request::postData */ public function testPostData() |