public void Should_SubscribeOracleQueue() { var container = IocBootstrapper.Instance; var subscriber = container.GetInstance <ISubscriber>(); var handler = new OrderMessageHandler(); subscriber.Subscribe(handler); }
public void Should_GetQueueInfo_From_MessageHandler() { OrderMessageHandler orderHandler = new OrderMessageHandler(); orderHandler.QueueName.ShouldBe("Order"); LogMessageHandler logHandler = new LogMessageHandler(); logHandler.QueueName.ShouldBe("Log"); }