public void StandardBankGb()
        {
            var expected = new ExpectedSwiftMessage
            {
                Description                         = null,
                OpeningBalance                      = 10235.43M,
                Account                             = "12345678",
                TransactionReference                = "10150126",
                OpeningBalanceCurrencyCode          = "GBP",
                OpeningBalanceDebitCredit           = DebitCredit.Credit,
                OpeningBalanceDate                  = new DateTime(2015, 01, 23),
                StatementNumber                     = 620,
                SequenceNumber                      = 1,
                ClosingBalance                      = 28412.15M,
                ClosingBalanceCurrencyCode          = "GBP",
                ClosingBalanceDebitCredit           = DebitCredit.Credit,
                ClosingBalanceDate                  = new DateTime(2015, 01, 26),
                ClosingAvailableBalance             = 28412.15M,
                ClosingAvailableBalanceCurrencyCode = "GBP",
                ClosingAvailableBalanceDebitCredit  = DebitCredit.Credit,
                ClosingAvailableBalanceDate         = new DateTime(2015, 01, 26),
                TransactionsCount                   = 13
            };

            var messageList = GetSample(StandardBankFormat, "Raptorious.SharpMt940Lib.Tests.Samples.StandardBank_transactions_GB.txt", CultureInfo.GetCultureInfo("en-GB")).ToList();

            ExpectedSwiftMessage.AssertCustomerStatementMessage(messageList, 1, expected);
        }
        public void StandardBankTransactionsGb()
        {
            var expectedTransactions = new List <ExpectedSwiftTransaction>();

            expectedTransactions.Add(ExpectedSwiftTransaction.CreateExpected(new DateTime(2015, 1, 26), DebitCredit.Debit,
                                                                             "R", "GBP", 52.58M, "NTRF", "ITM1234567890123", "yyyyyyyyyyyyyyyyy\r\nBasel\r\nCHF 50.00   0.950932 on 23/01/2015", "Visa"));

            expectedTransactions.Add(ExpectedSwiftTransaction.CreateExpected(new DateTime(2015, 1, 26), DebitCredit.Debit,
                                                                             "R", "GBP", 25.31M, "NTRF", "ITM1234567890123", "yyyyyyyyyyyyyyyyy\r\nAMZN.COM/BILL\r\non 23/01/2015", "Visa"));

            expectedTransactions.Add(ExpectedSwiftTransaction.CreateExpected(new DateTime(2015, 1, 26), DebitCredit.Credit,
                                                                             "R", "GBP", 18790M, "NTRF", "PON1234567890123", "yyyyyyyyyyyyyyyyy", "Inward Payment", "ABC12345678HRSXS"));

            var messageList =
                GetSample(StandardBankFormat, "Raptorious.SharpMt940Lib.Tests.Samples.StandardBank_few_transactions_GB.txt", CultureInfo.GetCultureInfo("en-GB")).ToList();

            var message = messageList[0];

            ExpectedSwiftMessage.AssertCustomerStatementTransactions(message, expectedTransactions);
        }