public void a_codec_for_the_exact_resource_type_is_found()
        {
            GivenACodec <CustomerCodec, Strictly <Customer> >("application/xml");

            WhenFindingCodec("application/xml", typeof(Customer));

            ThenTheResult.ShouldNotBeNull();
            ThenTheResult.CodecType.ShouldBe(typeof(CustomerCodec));
        }
        public void an_ireceivedfile_object_is_generated()
        {
            given_context();
            given_request_entity_stream();

            when_decoding();

            ThenTheResult
            .ShouldNotBeNull();
        }
예제 #3
0
        public async Task an_ifile_object_is_generated()
        {
            given_context();
            given_request_entity_stream();

            await when_decoding();

            ThenTheResult
            .ShouldNotBeNull();
        }