Example #1
0
 public ConfigurationCommandStopTests()
 {
     _dispatcher = A.Fake <IDispatcher>();
     _configurationCommandHandler = new ConfigurationCommandHandler(_dispatcher);
     _configurationCommand        = new ConfigurationCommand(ConfigurationCommandType.CM_STOPCHANNEL)
     {
         SubscriptionName = CONNECTION_NAME
     };
 }
 public ConfigurationCommandStartTests()
 {
     _dispatcher = A.Fake <IDispatcher>();
     _configurationCommandHandler = new ConfigurationCommandHandler(_dispatcher);
     _configurationCommand        = new ConfigurationCommand(ConfigurationCommandType.CM_STARTCHANNEL)
     {
         ConnectionName = CONNECTION_NAME
     };
 }
 public void Establish()
 {
     _dispatcher = A.Fake <IDispatcher>();
     _configurationCommandHandler = new ConfigurationCommandHandler(_dispatcher);
     _configurationCommand        = new ConfigurationCommand(ConfigurationCommandType.CM_STOPCHANNEL)
     {
         ConnectionName = CONNECTION_NAME
     };
 }
 public void Establish()
 {
     _dispatcher = A.Fake <IDispatcher>();
     _configurationCommandHandler = new ConfigurationCommandHandler(_dispatcher);
     _configurationCommand        = new ConfigurationCommand(ConfigurationCommandType.CM_STARTALL);
 }
Example #5
0
 public ConfigurationCommandAllStopTests()
 {
     _dispatcher = A.Fake <IDispatcher>();
     _configurationCommandHandler = new ConfigurationCommandHandler(_dispatcher);
     _configurationCommand        = new ConfigurationCommand(ConfigurationCommandType.CM_STOPALL);
 }