.addQueryParam("lastname", "LastName").build();
public void testCreateAccount() throws Exception {
Invokable<?, ?> method = method(GlobalUserAsyncClient.class, "createUser", String.class, String.class,
String.class, String.class, String.class, String.class, CreateUserOptions[].class);
GeneratedHttpRequest httpRequest = processor.createRequest(method, ImmutableList.<Object> of("user", "account", "email@example.com",
"hashed-password", "FirstName", "LastName"));
assertRequestLineEquals(httpRequest, createUser.getRequestLine());
assertNonPayloadHeadersEqual(httpRequest, "Accept: application/json\n");
assertPayloadEquals(httpRequest, null, null, false);