public async Task Adding_tags_synchronizes_with_store() { var create = CreateNewTask(); create.Tags.Add("a"); var created = await Store.SaveAsync(create); Assert.True(created, "Task not created"); var exists = await Store.GetByIdAsync(create.Id); Assert.NotNull(exists, $"Created task with ID '{create.Id}' is not visible"); exists.Tags.Add("b"); await Store.SaveAsync(exists); exists.Tags.Add("c"); await Store.SaveAsync(exists); var all = (await Store.GetAllAsync()).AsList(); Assert.Equal(1, all.Count); Assert.Equal(3, all.Single().Tags.Count); }