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