public void FormatResponse() { Model model = CreateModel(); var formatter = new FormsFormatter(); Assert.That(formatter.CanFormatResponse, Is.False); // "application/x-www-form-urlencoded" be used as an accepted media type Assert.Throws(typeof(NotSupportedException), () => formatter.FormatResponse(m_context, typeof(Model), model, null)); }