public void TransactionBusinessLogic_CanAdd() { // action _transactionBusinessLogic.Add(new Transaction()); // assert _transactionRepository.Verify(x => x.Add(It.IsAny <ITransaction>()), Times.Once); }
public void InsertTransaction(ITransaction transaction) { _businessLogic.Add(transaction); }