public void ClientFactory_HasDefaultValue_ThatReturns() { BackgroundJob.ClientFactory = null; JobStorage.Current = new Mock <JobStorage>().Object; var client = BackgroundJob.ClientFactory(); Assert.NotNull(client); }
public void ClientFactory_HasDefaultValue_ThatReturns() { BackgroundJob.ClientFactory = null; JobStorage.Current = new Mock <JobStorage>().Object; var client = BackgroundJob.ClientFactory(); Assert.NotNull(client); }