public async Task ShouldDelete_CashTransaction_UsingCashAccountAggregate() { CashAccount account = await _cashAcctRepo.GetByIdAsync(new Guid("417f8a5f-60e7-411a-8e87-dfab0ae62589")); CashAccountTransaction transaction = account.CashAccountTransactions.FirstOrDefault(p => p.Id.Equals(25)); account.DeleteCashAccountTransaction(transaction); CashAccountTransaction result = account.CashAccountTransactions.FirstOrDefault(p => p.Id.Equals(25)); Assert.Null(result); }