public void DefaultContentEncoding() { var properties = new BasicProperties(); Assert.Equal(SerializationConfiguration.DefaultContentEncoding, properties.ContentEncodingOrDefault()); }
public void ReadingRabbitContentEncoding() { const String contentEncoding = "UTF-16"; var properties = new BasicProperties { ContentEncoding = contentEncoding }; Assert.Equal(contentEncoding, properties.ContentEncodingOrDefault()); }