示例#1
0
        public void GetAccountDetails_ReturnNoData_OK()
        {
            WholeSaleEngineeringServiceTestWrapper wrapper = new WholeSaleEngineeringServiceTestWrapper();
            List <Accounts> accountResponses = wrapper.WholeSaleEngineeringService.GetAccountDetails();

            Assert.Empty(accountResponses);
        }
示例#2
0
        public void GetTransactionsDetails_ReturnNoData_OK()
        {
            string accountNumber = "12345612";
            WholeSaleEngineeringServiceTestWrapper wrapper = new WholeSaleEngineeringServiceTestWrapper();
            List <Transactions> transactionRsp             = wrapper.WholeSaleEngineeringService.GetTransactionsDetails(accountNumber);

            Assert.Empty(transactionRsp);
        }
示例#3
0
        public void GetAccountDetails_ReturnData_OK()
        {
            WholeSaleEngineeringServiceTestWrapper wrapper = new WholeSaleEngineeringServiceTestWrapper();

            wrapper.TestWholeSaleEngineeringContext.SetUpAccountData();
            List <Accounts> accountResponses = wrapper.WholeSaleEngineeringService.GetAccountDetails();

            Assert.True(accountResponses.Count > 0);
        }
示例#4
0
        public void GetTransactionsDetails_ReturnData_OK()
        {
            string accountNumber = "123456";
            WholeSaleEngineeringServiceTestWrapper wrapper = new WholeSaleEngineeringServiceTestWrapper();

            wrapper.TestWholeSaleEngineeringContext.SetUpTrasactionData();
            List <Transactions> transactionRsp = wrapper.WholeSaleEngineeringService.GetTransactionsDetails(accountNumber);

            Assert.True(transactionRsp.Count > 0);
        }