public void DeserializeSingle_EmptyResponseWithMeta_CanDeserialize() { // Arrange var content = new Document { Meta = new Dictionary <string, object> { { "foo", "bar" } } }; var body = JsonConvert.SerializeObject(content); // Act var result = _deserializer.DeserializeSingle <TestResource>(body); // Assert Assert.Null(result.Data); Assert.NotNull(result.Meta); Assert.Equal("bar", result.Meta["foo"]); }