internal FakeAdvancedApi(FakeBusEventRecorder recorder, FakeBusEventFactory factory, IRebusTime rebusTime) { _dataBus = new FakeDataBus(rebusTime); Workers = new FakeWorkersApi(recorder, rebusTime); Topics = new FakeTopicsApi(recorder, factory, rebusTime); SyncBus = new FakeSyncBus(recorder, factory, rebusTime); Routing = new FakeRoutingApi(recorder, factory, rebusTime); TransportMessage = new FakeTransportMessageApi(recorder, rebusTime); }
internal FakeTransportMessageApi(FakeBusEventRecorder recorder, IRebusTime rebusTime) { _recorder = recorder; _rebusTime = rebusTime; }
internal FakeTopicsApi(FakeBusEventRecorder recorder, FakeBusEventFactory factory, IRebusTime rebusTime) { _recorder = recorder; _factory = factory; _rebusTime = rebusTime; }
/// <summary> /// Creates the fake sync bus with its own internal event recorder (may be used if only an <see cref="ISyncBus"/> /// implementation is needed for the test) /// </summary> public FakeSyncBus() { _recorder = new FakeBusEventRecorder(); _factory = new FakeBusEventFactory(); _rebusTime = new FakeRebusTime(); }
internal FakeWorkersApi(FakeBusEventRecorder recorder, IRebusTime rebusTime) { _recorder = recorder; _rebusTime = rebusTime; }