public void CanConstruct() { AsyncContext.Run(() => { var instance = new ServiceSimulation(SynchronizationContext.Current); instance.Should().NotBeNull(); }); }
public void CanConstructWithArguments() { AsyncContext.Run(() => { var instance = new ServiceSimulation( SynchronizationContext.Current, 1000, false, 0m, 1.3m, 0.1m, 0.1m, true); instance.Should().NotBeNull(); }); }