public async Task Verify_Save_Correctly() { var newEntity = TestTools.BuildPokemon( id: 0, name: TestTools.BuildPokemonName(pokemonId: 0), baseStat: TestTools.BuildBaseStat(pokemonId: 0) ); var result = await Services.PokemonService.UpSert(newEntity); var dbEntity = await PokeContext.Pokemon .AsNoTracking() .Where(x => x.Id == result.Id) .SingleOrDefaultAsync(); Assert.NotNull(dbEntity); }