public void GetJsonUndefinedEnumeratorTest() { JsonValue target = AnyInstance.AnyJsonPrimitive.AsDynamic().IDontExist; IEnumerator <KeyValuePair <string, JsonValue> > enumerator = target.GetEnumerator(); Assert.False(enumerator.MoveNext()); }
public void GetJsonPrimitiveEnumeratorTest() { JsonValue target = AnyInstance.AnyJsonPrimitive; IEnumerator <KeyValuePair <string, JsonValue> > enumerator = target.GetEnumerator(); Assert.False(enumerator.MoveNext()); }