public void theres_a_namespace_manager_available()
        {
            var mf = TestConfigFactory.CreateMessagingFactory();
            nm = TestConfigFactory.CreateNamespaceManager(mf);

            _formatter = new AzureServiceBusMessageNameFormatter();
        }
Esempio n. 2
0
        public void theres_a_namespace_manager_available()
        {
            var mf = TestConfigFactory.CreateMessagingFactory();

            nm = TestConfigFactory.CreateNamespaceManager(mf);

            _formatter = new AzureServiceBusMessageNameFormatter();
        }
        public void a_normal_address_and_its_topic_corresponding_address()
        {
            _queueAddress = AzureServiceBusEndpointAddress.Parse(
                TestDataFactory.ApplicationEndpoint);

            var formatter = new AzureServiceBusMessageNameFormatter();
            _topicName = formatter.GetMessageName(typeof (A)).ToString();

            _topicAddress = _queueAddress.ForTopic(_topicName);

            Assert.Throws<ArgumentNullException>(
                () => _queueAddress.ForTopic(null));
        }
        public void a_normal_address_and_its_topic_corresponding_address()
        {
            _queueAddress = AzureServiceBusEndpointAddress.Parse(
                TestDataFactory.ApplicationEndpoint);

            var formatter = new AzureServiceBusMessageNameFormatter();

            _topicName = formatter.GetMessageName(typeof(A)).ToString();

            _topicAddress = _queueAddress.ForTopic(_topicName);

            Assert.Throws <ArgumentNullException>(
                () => _queueAddress.ForTopic(null));
        }
Esempio n. 5
0
 public void a_message_name_formatter()
 {
     _formatter = new AzureServiceBusMessageNameFormatter();
 }
		public void a_message_name_formatter()
		{
			_formatter = new AzureServiceBusMessageNameFormatter();
		}
 public void Message_Name_Formatter()
 {
     _f = new AzureServiceBusMessageNameFormatter();
 }
 public void Setup()
 {
     _formatter = new AzureServiceBusMessageNameFormatter();
 }