public void ClientFactory_Create_ThrowsWhenSettingsIsNull() { var factory = new ClientFactory(); Assert.Throws <ArgumentNullException>(() => factory.Create(null)); }
public void ClientFactory_Create_ThrowsWhenSettingsNameIsNotValid() { var factory = new ClientFactory(); Assert.Throws <ArgumentException>(() => factory.Create(new ClientSettings())); }
public ClientConfiguration(ILogger logger, IPreferences preferences, ClientFactory clientFactory) : this(logger, preferences, clientFactory, ClientScheduledTasks.Factory) { }