We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b149ec8 commit a4c063eCopy full SHA for a4c063e
tests/AbstractMessageProcessorTest.php
@@ -86,7 +86,7 @@ public function testProcessFailByNoProcessingMethod(): void
86
$this->processor->process($this->message);
87
}
88
89
- public function testProcessFailByTooManyMathods(): void
+ public function testProcessFailByTooManyMethods(): void
90
{
91
$methodMap = $this->createMock(MethodMapInterface::class);
92
$methods = ['method1', 'method2'];
@@ -112,6 +112,12 @@ public function testSetCache(): void
112
113
114
115
+ public function testNoCacheAndNoMethodMapProcessFail(): void
116
+ {
117
+ $this->expectException(LogicException::class);
118
+ $this->processor->process($this->message);
119
+ }
120
+
121
public function testSetMethodMap(): void
122
123
$this->processor->setMethodMap(
0 commit comments