public void ReturnAddedRecords()
        {
            using (var file = new TempFile())
            {
                using (var db = new LiteDbAdapter(file.Filename))
                {
                    db.UpsertServerInfo(TestData.Server);
                    var result = db.GetServerInfo(TestData.Server.endpoint);

                    result.ShouldBeEquivalentTo(TestData.Server);
                }
            }
        }
        public void KeepDataAfterClosingConnection()
        {
            using (var file = new TempFile())
            {
                using (var db = new LiteDbAdapter(file.Filename))
                {
                    db.UpsertServerInfo(TestData.Server);
                }

                using (var db = new LiteDbAdapter(file.Filename))
                {
                    var result = db.GetServerInfo(TestData.Server.endpoint);
                    result.ShouldBeEquivalentTo(TestData.Server);
                }
            }
        }