Exemplo n.º 1
0
        public void TestNewRawPostSubmit()
        {
            //Arrange & Act
            var raw = Factual.RequestPost("/t/us-sandbox/submit",
                                          new Dictionary <string, object>
            {
                {
                    "values", new Dictionary <string, object>
                    {
                        {
                            "name", "Factual North"
                        },
                        {
                            "address", "1 North Pole"
                        },
                        {
                            "latitude", 90
                        },
                        {
                            "longitude", 0
                        }
                    }
                },
                {
                    "user", "test_driver_user"
                }
            },
                                          new Dictionary <string, object>());

            //Assert
            AssertReceivedOkResponse(raw);
        }