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