public void GetLinkQuery_WithHeadersAndAskingForNextLink_ReturnsCorrectRequestQuery() { //Arrange var nextDataRequest = DataRequestQuery.Parse(NextQueryString); //Act var actual = DataRequestQuery.GetLinkQuery(GetSampleHistoryRequestHeaders(), "next"); //Assert Assert.Equal(nextDataRequest, actual); }
public DataRequestQueryParseFacts() { _query = DataRequestQuery.Parse(HeaderValue); }