request.post(expUser);
}
@Then("I expect that user was created successfully")
public void thenIExpectSuccessfulUserCreation() {
SuccessfulUserCreationResponse actResponse = request.getResponseObject(SuccessfulUserCreationResponse.class);
SuccessfulUserCreationResponse expResponse = new SuccessfulUserCreationResponse(true,
expUser);
Assert.assertEquals(actResponse, expResponse);
Assert.assertEquals(request.checkStatusCode200(), true);
}