Example #1
0
        public void ConvertMessageHeaderKeyToActiveMQ_Converts_Hyphen_to_HYPHEN_()
        {
            var header = ActiveMqMessageMapper.ConvertMessageHeaderKeyToActiveMQ("NSB-Feature");

            header.Should().Be("NSB_HYPHEN_Feature");
        }
Example #2
0
        public void ConvertMessageHeaderKeyToActiveMQ_ConvertsDot_to_DOT_()
        {
            var header = ActiveMqMessageMapper.ConvertMessageHeaderKeyToActiveMQ("NSB.Feature");

            header.Should().Be("NSB_DOT_Feature");
        }