protected void WhenFindingCodecsFor <TResourceType>(params string[] contentTypes) { ThenTheResult = Codecs.FindMediaTypeWriter(typeSystem.FromClr(typeof(TResourceType)), MediaType.Parse(string.Join(",", contentTypes))) .ToList(); }