You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im using 4.7.1 and have a handler that uses a for loop and do several Bus.SendLocal inside. Im not using the obsolete Bus.SendLocal(object[] messages) api.
Im using
for(int i = 0; i < 5; i++)
{
Bus.SendLocal(cmd => { cmd.Id = id++; });
}
Bus the ExpectSendLocal is invoked only once. If I explicit more than one ExpectSendLocal directives, all instances are called with the first element.
Do I need to do anything different or is it a bug ?
I just tried NSB.Testing for the first time:
It seems as if
ExpectSend
does not handle sending multiple messages as one transport message:The text was updated successfully, but these errors were encountered: