public void HydrateRequest__ThrowsNotImplementedIfNotJsonAndBodyHasContent() { var context = BuildContext("FizzBuzzing", contentType: "text/plain"); Action act = () => _provider.HydrateRequest(context.Object, typeof(DtoForParamRoute)); act.ShouldThrow <NotImplementedException>().WithMessage("text/plain is currently not supported."); }