public void PositionAfterImport()
 {
     JsonReader reader = new JsonTextReader(new StringReader("[{},'end']"));
     reader.ReadToken(JsonTokenClass.Array);
     Assert.AreSame(JsonTokenClass.Object, reader.TokenClass);
     ITypeImporter importer = new NameValueCollectionImporter();
     importer.Import(new ImportContext(), reader);
     Assert.AreEqual("end", reader.ReadString());
 }
 private static NameValueCollection UncheckImport(string s)
 {
     JsonReader reader = new JsonTextReader(new StringReader(s));
     ITypeImporter importer = new NameValueCollectionImporter();
     return (NameValueCollection) importer.Import(new ImportContext(), reader);
 }