using FluentAssertions; public class AlertCreationGuardTests { [Fact] public void CannotCreateNewSepsisWarning() { var act = () => AlertCreationGuard.EnsureAllowed(AlertType.SepsisWarning); act.Should().Throw() .WithMessage("*deprecated*"); } [Fact] public void AllowsSofaSepsis() { var act = () => AlertCreationGuard.EnsureAllowed(AlertType.SofaSepsis); act.Should().NotThrow(); } }