@Test
@DatabaseSetup("/net/petrikainulainen/spring/social/signinmvc/user/users.xml")
@ExpectedDatabase(value = "/net/petrikainulainen/spring/social/signinmvc/user/users.xml", assertionMode = DatabaseAssertionMode.NON_STRICT)
public void registerUserAccount_NormalRegistrationAndEmailExists_ShouldRenderRegistrationFormWithFieldError() throws Exception {
CsrfToken csrfToken = new CsrfTokenBuilder()
.headerName(IntegrationTestConstants.CSRF_TOKEN_HEADER_NAME)
.requestParameterName(IntegrationTestConstants.CSRF_TOKEN_REQUEST_PARAM_NAME)
.tokenValue(IntegrationTestConstants.CSRF_TOKEN_VALUE)
.build();