Exemple #1
0
        internal BankAccountDetails GiveAccountDetails(SingleAccountInfo selectedAccountInfo)
        {
            WebRequestComms sComms = new WebRequestComms();
            CommunicationModule comms = new CommunicationModule(sComms);

            return comms.GiveAccountDetails(selectedAccountInfo);
        }
Exemple #2
0
        internal BankAccountDetails GiveAccountDetails(SingleAccountInfo selectedAccountInfo)
        {
            WebRequestComms     sComms = new WebRequestComms();
            CommunicationModule comms  = new CommunicationModule(sComms);

            return(comms.GiveAccountDetails(selectedAccountInfo));
        }
        public void GiveAccountDetailsDoesAnythingAtAll()
        {
            //Given
            SingleAccountInfo fakeAccountInfo = new SingleAccountInfo();

            IRequestComms selectedComms = new MockRequestComms(fakeAccountInfo);

            CommunicationModule moduleUnderTest = new CommunicationModule(selectedComms);

            //When
            BankAccountDetails result = moduleUnderTest.GiveAccountDetails(fakeAccountInfo);

            //Then
            Assert.IsTrue(result != null);
        }
Exemple #4
0
        public void GiveAccountDetailsDoesAnythingAtAll()
        {
            //Given
            SingleAccountInfo fakeAccountInfo = new SingleAccountInfo();

            IRequestComms selectedComms = new MockRequestComms(fakeAccountInfo);

            CommunicationModule moduleUnderTest = new CommunicationModule(selectedComms);

            //When
            BankAccountDetails result = moduleUnderTest.GiveAccountDetails(fakeAccountInfo);

            //Then
            Assert.IsTrue(result != null);
        }