Skip to content

Commit 1b39863

Browse files
committed
Method should be called
1 parent 87e15f3 commit 1b39863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/StreamingClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function testStreamingClient(string $method, array $args)
4444
$listener = function () {};
4545
$loop = Factory::create();
4646
$commandBus = $this->prophesize(CommandBusInterface::class);
47-
$commandBus->handle(Argument::type(BuildSyncFromAsyncCommand::class))->willReturn(\React\Promise\reject());
47+
$commandBus->handle(Argument::type(BuildSyncFromAsyncCommand::class))->shouldBeCalled()->willReturn(\React\Promise\reject());
4848
/*$container = ContainerBuilder::buildDevContainer();
4949
$container->set(LoopInterface::class, Factory::create());
5050
$container->set(CommandBusInterface::class, $commandBus->reveal());

0 commit comments

Comments
 (0)