public async Task GetAllCountriesAsyncTest_Correct_ShouldReturnAllCountries() { var context = SteuDbContextInMemoryFactory.InitializeContext(); await this.SeedData(context); MapperInitializer.InitializeMapper(); var repository = new EfRepository <Country>(context); var service = new CountriesService(repository); var actualResult = await service.GetAllCountriesAsync <AllCountiresEditLoadViewModel>(); Assert.Equal(3, actualResult.Count); }