summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/Stub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Http/Stub')
-rw-r--r--tests/Unit/Http/Stub/MessageTraitRequestImplementation.php12
-rw-r--r--tests/Unit/Http/Stub/MessageTraitResponseImplementation.php (renamed from tests/Unit/Http/Stub/MessageTraitImplementation.php)2
2 files changed, 13 insertions, 1 deletions
diff --git a/tests/Unit/Http/Stub/MessageTraitRequestImplementation.php b/tests/Unit/Http/Stub/MessageTraitRequestImplementation.php
new file mode 100644
index 00000000..04d08913
--- /dev/null
+++ b/tests/Unit/Http/Stub/MessageTraitRequestImplementation.php
@@ -0,0 +1,12 @@
+<?php
+
+namespace Engelsystem\Test\Unit\Http\Stub;
+
+use Engelsystem\Http\MessageTrait;
+use Psr\Http\Message\MessageInterface;
+use Symfony\Component\HttpFoundation\Request;
+
+class MessageTraitRequestImplementation extends Request implements MessageInterface
+{
+ use MessageTrait;
+}
diff --git a/tests/Unit/Http/Stub/MessageTraitImplementation.php b/tests/Unit/Http/Stub/MessageTraitResponseImplementation.php
index d78fd0b2..2ec4b943 100644
--- a/tests/Unit/Http/Stub/MessageTraitImplementation.php
+++ b/tests/Unit/Http/Stub/MessageTraitResponseImplementation.php
@@ -6,7 +6,7 @@ use Engelsystem\Http\MessageTrait;
use Psr\Http\Message\MessageInterface;
use Symfony\Component\HttpFoundation\Response;
-class MessageTraitImplementation extends Response implements MessageInterface
+class MessageTraitResponseImplementation extends Response implements MessageInterface
{
use MessageTrait;
}