public void PrefixLength_WhenLessThanZero_ThrowsArgumentOutOfRangeException() { var query = new TermQuery("theterm"); Assert.Throws <ArgumentOutOfRangeException>(() => query.PrefixLength(-1)); }
public void PrefixLength_WhenLessThanZero_ThrowsArgumentOutOfRangeException() { var query = new TermQuery("theterm"); Assert.Throws <ArgumentOutOfRangeException>(() => query.PrefixLength(-1)); }