summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/ResponseTest.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-01-18 19:01:34 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2018-08-07 16:54:08 +0200
commit3c088292050982505726f5136ff4d0f1a918b879 (patch)
tree8d0e03947935ceb994ef6f8fe01af81bbb268b14 /tests/Unit/Http/ResponseTest.php
parent2f41b9e4418def9b69cf237312bc592364585025 (diff)
Added Http\Response and Psr7{Request,Response}
Diffstat (limited to 'tests/Unit/Http/ResponseTest.php')
-rw-r--r--tests/Unit/Http/ResponseTest.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/Unit/Http/ResponseTest.php b/tests/Unit/Http/ResponseTest.php
new file mode 100644
index 00000000..6bedf5c1
--- /dev/null
+++ b/tests/Unit/Http/ResponseTest.php
@@ -0,0 +1,19 @@
+<?php
+
+namespace Engelsystem\Test\Unit\Http;
+
+use Engelsystem\Http\Response;
+use PHPUnit\Framework\TestCase;
+use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
+
+class ResponseTest extends TestCase
+{
+ /**
+ * @covers \Engelsystem\Http\Response
+ */
+ public function testCreate()
+ {
+ $response = new Response();
+ $this->assertInstanceOf(SymfonyResponse::class, $response);
+ }
+}