public void Should_execute_action_when_condition_is_true() { var actionWasCalled = false; Should.Do(() => actionWasCalled = true).When(true); Assert.That(actionWasCalled, Is.True); }