public static void ShouldRunToCompletionIn(this IBackgroundOperation backgroundOperation, int expectedExecuteCount = 100) => backgroundOperation.ShouldRunToCompletionIn(new FakeBackgroundWorker(), expectedExecuteCount);
public static void ShouldRunToCompletionIn(this IBackgroundOperation backgroundOperation, int expectedExecuteCount = 100) => backgroundOperation.ShouldRunToCompletionIn(new FakeBackgroundWorker(), expectedExecuteCount);