summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/Stub/MessageTraitRequestImplementation.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Http/Stub/MessageTraitRequestImplementation.php')
-rw-r--r--tests/Unit/Http/Stub/MessageTraitRequestImplementation.php12
1 files changed, 12 insertions, 0 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;
+}