public void ValidateNullableBooleanNotToBeFalse()
        {
            // Given
            var validator = new NullableBoolInverseValidator(null);

            // When
            validator.BeFalse();

            // Then
            Assert.True(true);
        }
        public void ValidateBooleanNotToBeFalseViolated()
        {
            // Given
            var validator = new NullableBoolInverseValidator(false);

            // When
            var exception = Assert.Throws <XunitException>(() => validator.BeFalse(because: "that's the bottom line"));

            // Then
            Assert.NotNull(exception);
            var rn = Environment.NewLine;

            Assert.Equal(
                $"{rn}validator{rn}is \"False\"{rn}but was expected not to be false{rn}because that's the bottom line",
                exception.UserMessage);
        }
        public void ValidateNullableNotToBeNullWithReasonViolated()
        {
            // Given
            var validator = new NullableBoolInverseValidator(null);

            // When
            var exception = Assert.Throws <XunitException>(() => validator.BeNull("that's the bottom line"));

            // Then
            Assert.NotNull(exception);
            var rn = Environment.NewLine;

            Assert.Equal(
                $"{rn}validator{rn}is null{rn}but was expected not to be null{rn}because that's the bottom line",
                exception.UserMessage);
        }