public void DataHubRequestTestSingleResult()
        {
            dhMocks.SetMockSingleResponse();
            dhRequests.Client = dhHandler.ToHttpClient();
            dhRequests.SetHttpClientDefaults();
            StringCollection rqParams = new StringCollection()
            {
                "employeeId=140889"
            };

            DataHubResponse response = dhRequests.RunQueryAsync(rqParams).Result;

            Assert.AreEqual("Hansen", response.Employees[0].LastName);
        }
        public void DataHubRequestTestGreaterThan500Results()
        {
            dhMocks.SetMockLargeResponse();
            dhRequests.Client = dhHandler.ToHttpClient();
            dhRequests.SetHttpClientDefaults();
            StringCollection rqParams = new StringCollection()
            {
                "functionCode=060"
            };

            DataHubResponse response = dhRequests.RunQueryAsync(rqParams).Result;

            Assert.IsTrue(condition: 741 == response.TotalRecordCount);
            Assert.IsTrue(condition: 741 == response.Employees.Length);

            DataHubMocks.MockHttp.VerifyNoOutstandingExpectation();
        }