}
@Test
public void adminCreateRoleAsHalJson() throws Exception {
AdminCreateRoleDto createRoleRequest = new AdminCreateRoleDto();
createRoleRequest.setName("Stock Manager");
createRoleRequest.setDescription("Stock Manager roles");
String actualResponse = configureAsClient(AdminRoleResource.class)
.accept(HalMediaType.APPLICATION_HAL_JSON)
.entity(createRoleRequest, MediaType.APPLICATION_JSON_TYPE)
.post(String.class);