// given
HttpClient httpClient = createApacheClient();
// when - register
HttpResponse registerPageResponse = httpClient.execute(new HttpGet("https://127.0.0.1:8443/register"));
RegistrationPage registrationPage = new RegistrationPage(getBodyAndClose(registerPageResponse));
registrationPage.shouldHaveCorrectFields();
String csrf = registrationPage.csrfValue();
HttpPost register = new HttpPost("https://127.0.0.1:8443/register");
register.setEntity(new UrlEncodedFormEntity(Arrays.asList(
new BasicNameValuePair("name", "test_user"),
new BasicNameValuePair("email", "fake@email.com"),