testRequestIsWellFormed(request, TestUtils.getConfig().getApiUrlAuthority(),
TestUtils.getConfig().getApiUrlPath().concat(CreateEmailAliasRequest.getUri(userId)), HttpStatus.SC_CREATED, RestMethod.POST);
HttpEntity en = request.getRequestEntity();
Assert.assertTrue(en instanceof StringEntity);
MapJSONStringEntity mEntity = new MapJSONStringEntity();
mEntity.put("email", email);
assertEqualStringEntity(mEntity, en);
}