Beispiel #1
0
 public void TypedPrecondition_HasViolatedTypedPrecondition_ViolatesPrecondition() =>
 Assert.That(HasViolatedTypedPrecondition, Violates.TypedPrecondition <ViolatesTestException>());
Beispiel #2
0
 public void Precondition_HasViolatedPreconditionWithUserMessage_ViolatesPrecondition() =>
 Assert.That(HasViolatedPreconditionWithUserMessage, Violates.PreconditionSaying(UserMessage));