public void ToString_ZeroTakeCount_ReturnsCorrectString() { var skipQueryPart = new TopQueryPart(0); Assert.That(skipQueryPart.ToString(), Is.EqualTo("$top=0")); }
public void ToString_NullCount_ReturnsEmptyString() { var skipQueryPart = new TopQueryPart(null); Assert.That(skipQueryPart.ToString(), Is.EqualTo(String.Empty)); }