public async Task GetContentTypesShouldSerializeIntoAnEnumerableOfContentType() { //Arrange _handler.Response = GetResponseFromFile(@"ContenttypesCollection.json"); //Act var res = await _client.GetContentTypesAsync(); //Assert Assert.Equal(3, res.Count()); Assert.Equal("Brand", res.First().Name); Assert.Null(res.First().Description); Assert.Equal(DateTime.Parse("2016-11-03T10:49:52.260Z").ToUniversalTime(), res.First().SystemProperties.CreatedAt); Assert.Equal("n9r7gd2bwvqt", res.First().SystemProperties.Space.SystemProperties.Id); Assert.Equal(2, res.First().SystemProperties.Revision); }