public void Save_ExistingEntryUpdated()
        {
            var accountRepo =
                new AccountRepository(new DatabaseManager(new WindowsSqliteConnectionFactory(),
                    new MvxWpfFileStore(FILE_ROOT)));
            var testAccount = new Fixture().Create<AccountViewModel>();
            testAccount.Id = 0;

            try
            {
                accountRepo.Save(testAccount);
                accountRepo.FindById(testAccount.Id).ShouldNotBeNull();

                const string updatedName = "FOOOOOOOOOO";
                testAccount.Name = updatedName;

                accountRepo.Save(testAccount);
                accountRepo.FindById(testAccount.Id).Name.ShouldBe(updatedName);
            }
            finally
            {
                accountRepo.Delete(testAccount);
            }
        }
        public void FindById_AccountDeleted()
        {
            var accountRepo =
                new AccountRepository(new DatabaseManager(new WindowsSqliteConnectionFactory(),
                    new MvxWpfFileStore(FILE_ROOT)));

            var testAccount = new Fixture().Create<AccountViewModel>();
            testAccount.Id = 0;

            accountRepo.Save(testAccount);
            var selected = accountRepo.FindById(testAccount.Id);

            selected.ShouldNotBeNull();
            selected.ShouldBeInstanceOf<AccountViewModel>();

            accountRepo.Delete(testAccount);
            accountRepo.FindById(testAccount.Id).ShouldBeNull();
        }