public Broker(final BrokerCfg cfg, final String basePath, final ActorClock clock) { this(new SystemContext(cfg, basePath, clock)); }
public Broker(final InputStream configStream, final String basePath, final ActorClock clock) { this(new SystemContext(configStream, basePath, clock)); }
public Broker(final String configFileLocation, final String basePath, final ActorClock clock) { this(new SystemContext(configFileLocation, basePath, clock)); }
public Broker(final String configFileLocation, final String basePath, final ActorClock clock) { this(new SystemContext(configFileLocation, basePath, clock)); }
public Broker(final InputStream configStream, final String basePath, final ActorClock clock) { this(new SystemContext(configStream, basePath, clock)); }
public Broker(final BrokerCfg cfg, final String basePath, final ActorClock clock) { this(new SystemContext(cfg, basePath, clock)); }
private SystemContext initSystemContext(BrokerCfg brokerCfg) { return new SystemContext(brokerCfg, "test", new ControlledActorClock()); } }
private SystemContext initSystemContext(BrokerCfg brokerCfg) { return new SystemContext(brokerCfg, "test", new ControlledActorClock()); } }
@Before public void setup() { context = spy( new SystemContext( brokerConfig, temporaryFolder.getRoot().getAbsolutePath(), new DefaultActorClock())); doAnswer(i -> serviceContainerRule.get()).when(context).getServiceContainer(); }
@Before public void setup() { context = spy( new SystemContext( brokerConfig, temporaryFolder.getRoot().getAbsolutePath(), new DefaultActorClock())); doAnswer(i -> serviceContainerRule.get()).when(context).getServiceContainer(); }