public void ThrowIfNullForNonNullObject()
        {
            string         message      = "Test message";
            EntitySettings testVariable = new EntitySettings();

            FluentActions.Invoking(() => testVariable.ThrowIfNull <Exception>(message))
            .Should()
            .NotThrow();
        }
        public void ThrowIfNullForNullObject()
        {
            string         message      = "Test message";
            EntitySettings testVariable = null;

            FluentActions.Invoking(() => testVariable.ThrowIfNull <Exception>(message))
            .Should()
            .Throw <Exception>()
            .WithMessage(message);
        }