public void Should_not_execute_action_unless_condition_is_true() { var actionWasCalled = false; Should.Do(() => actionWasCalled = true).Unless(true); Assert.That(actionWasCalled, Is.False); }