Пример #1
0
 public void IsInvoiceRequestValidForNullSourceCodeExpectExceptionThrown()
 {
     // arrange
     var settlementManager = new SettlementManager();
     // act
     settlementManager.IsInvoiceRequestValid(1, 1, null);
 }
Пример #2
0
            public void IsInvoiceRequestValidForNonOnlineBookingsExpectFalseReturned()
            {
                // arrange
                var settlementManager = new SettlementManager();
                var sourceCodeType = SourceType.Pms.GetCode();

                // act
                var result = settlementManager.IsInvoiceRequestValid(1, 1, sourceCodeType);

                // assert
                Assert.IsFalse(result);
            }
Пример #3
0
 public void IsInvoiceRequestValidForNullOrderIdExpectExceptionThrown()
 {
     // arrange
     var settlementManager = new SettlementManager();
     // act
     settlementManager.IsInvoiceRequestValid(1, default(int), "source code");
 }