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.
getMockForAbstractClass()
1 parent 85ba4ca commit 0b6698eCopy full SHA for 0b6698e
Tests/Transport/Smtp/SmtpTransportTest.php
@@ -158,7 +158,7 @@ public function testAssertResponseCodeWithNotValidCode()
158
159
private function invokeAssertResponseCode(string $response, array $codes): void
160
{
161
- $transport = new SmtpTransport($this->getMockForAbstractClass(AbstractStream::class));
+ $transport = new SmtpTransport($this->createStub(AbstractStream::class));
162
$m = new \ReflectionMethod($transport, 'assertResponseCode');
163
$m->setAccessible(true);
164
$m->invoke($transport, $response, $codes);
0 commit comments