public async Task GetById(int id, string expectedName)
        {
            IJsonRepository <Person, int> store = GetStore(_options);

            var person = await store.GetByIdAsync(id);

            Assert.Equal(expectedName, person?.FullName);
        }
        public async Task Update_Success()
        {
            IJsonRepository <Person, int> store = GetStore(_options);
            var person = Constants.GetPerson();

            person.FullName = Guid.NewGuid().ToString();

            await store.UpdateAsync(person);

            await store.SaveChangesAsync();

            // reloads the item
            IJsonRepository <Person, int> newStore = GetStore(_options);
            var newPerson = await newStore.GetByIdAsync(person.Id);

            Assert.Equal(person, newPerson);
        }