public void ToValidation_should_change_Exceptional_to_a_Failed_Validation() { Exceptional <int> exceptional = new InvalidOperationException("invalid"); var result = exceptional.ToValidation(); result.IsValid.Should().BeFalse(); result.Errors.Should().NotBeEmpty(); result.Errors.First().Message.Should().Be("invalid"); }