public void EvaluateConstructorOutOfBoundsIndxerWithError() { JConstructor c = new JConstructor("Blah"); ExceptionAssert.Throws <JsonException>( @"Index 1 outside the bounds of JConstructor.", () => { c.SelectToken("[1]", true); }); }
public void EvaluateConstructorOutOfBoundsIndxer() { JConstructor c = new JConstructor("Blah"); Assert.IsNull(c.SelectToken("[1]")); }
public void EvaluateIndexerOnConstructorWithError() { JConstructor c = new JConstructor("Blah"); c.SelectToken("[1]", true); }
public void EvaluateConstructorOutOfBoundsIndxerWithError() { JConstructor c = new JConstructor("Blah"); c.SelectToken("[1]", true); }