Пример #1
0
        public static void Validate_Returns_True_Given_Valid_Receipt()
        {
            var isValid = FiscalReceiptValidator.Validate(FiscalReceiptTestData.ValidReceipt());

            Assert.True(isValid);
        }
 private static AddFiscalReceiptCommand ValidCommand()
 {
     return(new AddFiscalReceiptCommand {
         Receipt = FiscalReceiptTestData.ValidReceipt()
     });
 }