public void GetTransactionDetails_Should_Throw_WhenGiven_Invalid_Params()
 {
     const string invalidTransactionAccountCode = null;
     const string exceptedTransactionRef = "110009011496RI";
     _transConfiguration.SetupMockEntityRepositoryForGetAll(_transList);
     var transService = new TransactionService(_transConfiguration.MockPersistence.Object, _transConfiguration.MockLog.Object, _transConfiguration.MockSecurity.Object);
     transService.GetTransactionDetails(invalidTransactionAccountCode, exceptedTransactionRef);
 }
 public void GetTransactionDetails_Should_Return_Valid_Data()
 {
     const string exceptedTransAccountCode = "12455145442";
     const string exceptedTransactionRef = "110009011496RI";
     _transConfiguration.SetupMockEntityRepositoryForGetAll(_transList);
     var transService = new TransactionService(_transConfiguration.MockPersistence.Object, _transConfiguration.MockLog.Object, _transConfiguration.MockSecurity.Object);
     var returnValue = transService.GetTransactionDetails(exceptedTransAccountCode, exceptedTransactionRef);
     _transConfiguration.MockEntity.VerifyAll();
     Assert.IsNotNull(returnValue);
 }