public void ToCheck_ForDefaultInstance_ReturnsNoopCheck()
        {
            var sut    = new NoopCheckSettings();
            var result = sut.ToCheck();

            Assert.That(result, Is.InstanceOf <NoopCheck>());
        }
예제 #2
0
 /// <summary>
 /// Constructs a check based on certain <see cref="NoopCheckSettings"/>.
 /// </summary>
 /// <param name="settings"></param>
 public NoopCheck(NoopCheckSettings settings)
 {
     if (settings == null)
     {
         throw new ArgumentNullException(nameof(settings));
     }
     this.settings = settings;
 }