We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e88d3 commit 049e80eCopy full SHA for 049e80e
test/Unit/Porter/Connector/FetchExceptionHandler/StatelessFetchExceptionHandlerTest.php
@@ -0,0 +1,22 @@
1
+<?php
2
+namespace ScriptFUSIONTest\Unit\Porter\Connector\FetchExceptionHandler;
3
+
4
+use ScriptFUSION\Porter\Connector\FetchExceptionHandler\StatelessFetchExceptionHandler;
5
6
+/**
7
+ * @see StatelessFetchExceptionHandler
8
+ */
9
+final class StatelessFetchExceptionHandlerTest extends \PHPUnit_Framework_TestCase
10
+{
11
+ /**
12
+ * Tests that the initialize() method does not throw any exception. This test exists solely for code coverage.
13
14
+ public function testInitialize()
15
+ {
16
+ (new StatelessFetchExceptionHandler(static function () {
17
+ // Intentionally empty.
18
+ }))->initialize();
19
20
+ // PHPUnit asserts no exception is thrown.
21
+ }
22
+}
0 commit comments