コード例 #1
0
        public async void ListIncludesDefault()
        {
            var result = await _pc.CustomList(personId : "1");

            var person = result.List.Cast <PersonDtoGen>().First();

            Assert.NotNull(person.Company);
            // GenFu's company names change.
            Assert.Equal("La Pocatière", person.Company.City);
            Assert.Equal(1, result.List.Count());
        }