public void testRequestIsWellFormed() throws BoxRestException, IllegalStateException, IOException, AuthFatalFailureException {
int limit = 100;
int offset = 200;
String filterTerm = "testfilterterm";
GetAllUsersInEnterpriseRequest request = new GetAllUsersInEnterpriseRequest(CONFIG, JSON_PARSER,
(new BoxDefaultRequestObject()).setPage(limit, offset), filterTerm);
testRequestIsWellFormed(request, TestUtils.getConfig().getApiUrlAuthority(),
TestUtils.getConfig().getApiUrlPath().concat(GetAllUsersInEnterpriseRequest.getUri()), HttpStatus.SC_OK, RestMethod.GET);
Assert.assertEquals(Integer.toString(limit), request.getQueryParams().get("limit"));
Assert.assertEquals(Integer.toString(offset), request.getQueryParams().get("offset"));