public void GetValue_ReturnUIntCase()
 {
     using (var connection = new SqliteConnection(connectionString)) {
         MakeTable(connection);
         connection.Execute(sqlInsert, new { name = "Number", str_value = "2" });
         dynamic parameters = new ParametersService(connection);
         Assert.That(parameters.Number(typeof(uint)), Is.EqualTo(2));
     }
 }
 public void GetValue_ReturnLongCase()
 {
     using (var connection = new SqliteConnection(connectionString)) {
         MakeTable(connection);
         connection.Execute(sqlInsert, new { name = "Number", str_value = "9223372036854775807" });
         dynamic parameters = new ParametersService(connection);
         Assert.That(parameters.Number(typeof(long)), Is.EqualTo(9223372036854775807));
     }
 }
 public void GetValue_ReturnIntNulableCase()
 {
     using (var connection = new SqliteConnection(connectionString)) {
         MakeTable(connection);
         connection.Execute(sqlInsert, new { name = "Number", str_value = 42 });
         dynamic parameters = new ParametersService(connection);
         int?    value      = parameters.NotExist(typeof(int?));
         Assert.That(value, Is.Null);
         value = parameters.Number(typeof(int?));
         Assert.That(value, Is.EqualTo(42));
     }
 }