예제 #1
0
        public void IsJson()
        {
            var localStorageManager = new LocalStorageManager();

            localStorageManager.Add(new EcKeyPair(), this.storageName1);

            var content = File.ReadAllText(localStorageManager.StoragePath);

            Assert.DoesNotThrow(() => JsonConvert.DeserializeObject(content), "Can parse as json");
        }