protected void StockUpItem() { executor .Do(() => messagePublisher.Publish(new ProductReceivedFromSupplier { ProductId = productId, NumberOfItems = 1 })) .Return() .When(ConfirmationMatcher <ProductReceivedFromSupplier> .Any(consumerServiceName).WaitFor(TimeSpan.FromSeconds(5))); }