File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 15
15
use Symfony \Contracts \EventDispatcher \EventDispatcherInterface ;
16
16
use Symfony \Contracts \HttpClient \HttpClientInterface ;
17
17
18
- final class FailedMessageEventTest extends TestCase
18
+ class FailedMessageEventTest extends TestCase
19
19
{
20
20
/**
21
21
* @dataProvider messagesProvider
@@ -47,6 +47,8 @@ public function testFailedMessageEventIsDisptachIfError()
47
47
$ clientMock = $ this ->createMock (HttpClientInterface::class);
48
48
49
49
$ transport = new class ($ clientMock , $ eventDispatcherMock ) extends AbstractTransport {
50
+ public $ exception ;
51
+
50
52
public function __construct ($ client , EventDispatcherInterface $ dispatcher = null )
51
53
{
52
54
$ this ->exception = new NullTransportException ();
@@ -65,6 +67,7 @@ public function supports(MessageInterface $message): bool
65
67
66
68
public function __toString (): string
67
69
{
70
+ return '' ;
68
71
}
69
72
};
70
73
You can’t perform that action at this time.
0 commit comments