public async Task GetExchangeRatesOfCurrenciesInCost_Should_Include_DefaultCurrency() { //Setup await CreateExchangeRate(); var paymentCurrency = EFContext.Currency.First(c => c.Code == "AUD"); var costLineItemCurrency = EFContext.Currency.First(c => c.Code == "CAD"); var costId = await CreateCostTest(paymentCurrency, costLineItemCurrency); var cost = EFContext.Cost.First(c => c.Id == costId); //Act var lstExchangeRates = await CostService.GetExchangeRatesOfCurrenciesInCost(cost); //Assert lstExchangeRates.Should().Contain(c => c.FromCurrency == paymentCurrency.Id); lstExchangeRates.Should().Contain(c => c.FromCurrency == costLineItemCurrency.Id); }