Пример #1
0
 public void It_should_throw_ArgumentException(int count)
 {
     // Arrange/Act
     System.Action act = () => new RepeatAttribute(count: count);
     // Assert
     act
     .Should()
     .Throw <System.ArgumentOutOfRangeException>(because: "count is equal or lower than zero");
 }