Exemplo n.º 1
0
        public void Should_not_be_able_to_convert_HalReponse_with_attribute_marked_model()
        {
            var model       = new PersonModelWithAttributes();
            var halResponse = new HALResponse(model);
            var converter   = new HALAttributeConverter();

            Assert.False(converter.CanConvert(halResponse.GetType()));
        }