CompleteIn

Should.CompleteIn(
                    action: () => { Thread.Sleep(TimeSpan.FromSeconds(15)); },
                    timeout: TimeSpan.FromSeconds(0.5),
                    customMessage: "Some additional context");

snippet source | anchor

Exception


Delegate
    should complete in
00:00:00.5000000
    but did not

Additional Info:
    Some additional context

Last updated