コード例 #1
0
        public void TestRowQueryResponse()
        {
            //Arrange
            var response = Factual.FetchRow("places", "03c26917-5d66-4de9-96bc-b13066173c65");

            //Assert
            AssertReceivedOkResponse(response);
        }
コード例 #2
0
        public void TestDeprecatedEntity()
        {
            // Arrange & Act
            var response = Factual.FetchRow("places", "15442594-6f41-4ba3-9c02-b4ca6e663fcd");

            // Assert
            AssertReceivedOkResponse(response);
        }
コード例 #3
0
        public void TestRowQueryOnlyResponse()
        {
            //Arrange
            var rowQuery = new RowQuery();

            rowQuery.Only("name", "address", "region", "postcode");
            var response = Factual.FetchRow("places", "03c26917-5d66-4de9-96bc-b13066173c65", rowQuery);

            //Assert
            AssertReceivedOkResponse(response);
        }