public void GetAccountDetails_ReturnNoData_OK() { WholeSaleEngineeringServiceTestWrapper wrapper = new WholeSaleEngineeringServiceTestWrapper(); List <Accounts> accountResponses = wrapper.WholeSaleEngineeringService.GetAccountDetails(); Assert.Empty(accountResponses); }
public void GetTransactionsDetails_ReturnNoData_OK() { string accountNumber = "12345612"; WholeSaleEngineeringServiceTestWrapper wrapper = new WholeSaleEngineeringServiceTestWrapper(); List <Transactions> transactionRsp = wrapper.WholeSaleEngineeringService.GetTransactionsDetails(accountNumber); Assert.Empty(transactionRsp); }
public void GetAccountDetails_ReturnData_OK() { WholeSaleEngineeringServiceTestWrapper wrapper = new WholeSaleEngineeringServiceTestWrapper(); wrapper.TestWholeSaleEngineeringContext.SetUpAccountData(); List <Accounts> accountResponses = wrapper.WholeSaleEngineeringService.GetAccountDetails(); Assert.True(accountResponses.Count > 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); }