public void Can_generate_unversioned_media_type() { var formatter = new CommandMediaTypeWithDotVersionFormatter(); string mediaType = formatter.GetMediaType(new CommandNameAndVersion("command"), "xml"); mediaType.Should().Be("application/vnd.command+xml"); }
public CommandMediaTypeWithDotVersionFormatterTests() { _sut = new CommandMediaTypeWithDotVersionFormatter(); }