Skip to content

Commit

Permalink
Add assert for CanHandle for async stream command
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jan 29, 2024
1 parent 90a5c54 commit f29d284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Merq.Tests/MessageBusSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public async Task when_executing_stream_then_gets_results()
.AddSingleton<ICanExecute<StreamCommand>>(handler)
.BuildServiceProvider());

Assert.True(bus.CanHandle(command));
Assert.True(bus.CanExecute(command));

var values = new List<int>();
Expand Down

0 comments on commit f29d284

Please sign in to comment.