public void IntParseOrNull_Should_ReturnCorrectNumber_OnValidInput()
        {
            const string input    = "1234";
            const long   expected = 1234;

            Assert.AreEqual(expected, TypeParseHelper.LongParseOrNull(input));
        }
        public void IntParseOrNull_Should_ReturnCorrectNumber_OnInt64Input()
        {
            const string input    = "140737488355328";
            const long   expected = 140737488355328;

            Assert.AreEqual(expected, TypeParseHelper.LongParseOrNull(input));
        }
        public void IntParseOrNull_Should_ReturnNull_OnTooBigNumberInput()
        {
            const string input = "18446744073709551616";

            Assert.IsNull(TypeParseHelper.LongParseOrNull(input));
        }
 public void IntParseOrNull_Should_ReturnNull_OnMixedInput()
 {
     Assert.IsNull(TypeParseHelper.LongParseOrNull("1 ab ;13"));
 }
 public void IntParseOrNull_Should_ReturnNull_OnNonNumericInput()
 {
     Assert.IsNull(TypeParseHelper.LongParseOrNull("alskdjfh"));
 }
 public void IntParseOrNull_Should_ReturnNull_OnEmptyInput()
 {
     Assert.IsNull(TypeParseHelper.LongParseOrNull(string.Empty));
 }
 public void IntParseOrNull_Should_ReturnNull_OnNullInput()
 {
     Assert.IsNull(TypeParseHelper.LongParseOrNull(null));
 }