public void AsInteger_with_valid_integer() { JsonValue jsonValue = JsonValue.NewString("123456"); int result = jsonValue.AsInteger(); Assert.AreEqual(123456, result); }