public void content_type_is_not_set() { given_filter(); given_operations(); Request.Entity = new HttpEntity() { ContentLength = null, ContentType = MediaType.Parse("application/octet-stream").Single() }; given_registration_codec <ApplicationOctetStreamCodec>(); given_request_httpmethod("GET"); when_filtering_operations(); FilteredOperations.All(x => x.GetRequestCodec() == null).ShouldBeTrue(); }