public void ToString_ShouldHandleMultipleValues(int count, int page) { var param = new GetTopicsParameters { Count = count, Page = page }; Assert.That(param.ToString(), Is.EqualTo("?count=" + count + "&page=" + page)); }
public void ToString_ShouldHandleNoSetValues() { var param = new GetTopicsParameters(); Assert.That(param.ToString(), Is.EqualTo(string.Empty)); }