Apache.NMS.ActiveMQ.Test.NMSConnectionFactoryTest.TestURI C# (CSharp) Method

TestURI() private method

private TestURI ( string connectionURI ) : void
connectionURI string
return void
		public void TestURI(string connectionURI)
		{
			NMSConnectionFactory factory = new NMSConnectionFactory(NMSTestSupport.ReplaceEnvVar(connectionURI));
			Assert.IsNotNull(factory);
			Assert.IsNotNull(factory.ConnectionFactory);
			using(IConnection connection = factory.CreateConnection("", ""))
			{
				Assert.IsNotNull(connection);
				connection.Close();
			}
		}