public static void Validate_Returns_False_Given_Invalid_Receipt(FiscalReceipt invalidReceipt) { var isValid = FiscalReceiptValidator.Validate(invalidReceipt); Assert.False(isValid); }
public static void Validate_Returns_True_Given_Valid_Receipt() { var isValid = FiscalReceiptValidator.Validate(FiscalReceiptTestData.ValidReceipt()); Assert.True(isValid); }