public Task Returns_200_And_Shipments_If_Request_Authorized()
            {
                // Arrange
                var config = IntegrationTestHelper.GetInitialIntegrationTestConfig(GetContainer());

                var request = HttpRequestMessageHelper.ConstructRequest(
                    httpMethod: HttpMethod.Get,
                    uri: string.Format("https://localhost/{0}?page={1}&take={2}", ApiBaseRequestPath, 1, 2),
                    mediaType: "application/json",
                    username: Constants.ValidAdminUserName,
                    password: Constants.ValidAdminPassword);

                return(IntegrationTestHelper.TestForPaginatedDtoAsync <ShipmentDto>(
                           config,
                           request,
                           expectedPageIndex: 1,
                           expectedTotalPageCount: 2,
                           expectedCurrentItemsCount: 2,
                           expectedTotalItemsCount: 3,
                           expectedHasNextPageResult: true,
                           expectedHasPreviousPageResult: false));
            }