示例#1
0
 public void SetUp()
 {
     this.connectionFactory      = new CachingConnectionFactory();
     this.brokerIsRunning        = BrokerRunning.IsRunning();
     this.connectionFactory.Port = BrokerTestUtils.GetPort();
 }
示例#2
0
 /// <summary>
 /// Code to execute after fixture setup.
 /// </summary>
 public override void AfterFixtureSetUp() { this.brokerIsRunning = BrokerRunning.IsRunning(); }
 public void SetUp()
 {
     this.brokerIsRunning = BrokerRunning.IsRunning();
     this.brokerIsRunning.Apply();
 }