Force les exceptions de FluentAssertions Force
subject.Invoking(y => y.Foo("Hello"))
.Should().Throw<InvalidOperationException>()
.WithMessage("Hello is not allowed at this moment");
Magnificent Macaque