public void Setup() { _locator = new TestServiceLocator(); _register = new BusRegisterer(_locator); if (TestHandleRegistrer.HandlerList.Count == 0) _register.Register(GetType()); }
private void RegisterHandlers(IServiceLocator serviceLocator) { var registerer = new BusRegisterer(); registerer.Register(serviceLocator,typeof(IHandles<>),typeof(ReadModelFacade)); }