### Question:
AuthController { @PostMapping("/signUp") public ResponseEntity<?> registerUser(@Valid @RequestBody SignUpRequest signUpRequest) { User user = userService.registerUser(signUpRequest); Account account = libraAccountService.createLibraUserAccount(user); SignUpResponse signUpResponse = new SignUpResponse(user.getId(), user.getEmail(), account); return ApiResponse.Success(signUpResponse); }  @PostMapping("/login") ResponseEntity<?> authenticateUser(@Valid @RequestBody LoginRequest loginRequest); @PostMapping("/signUp") ResponseEntity<?> registerUser(@Valid @RequestBody SignUpRequest signUpRequest);  }### Answer:
@Test public void registerUserTest() { final String baseUrl = BACKEND_API_DOMAIN + "/auth/signUp"; SignUpRequest param = new SignUpRequest(); param.setEmail("ccami@palibra.net"); param.setPassword("123123"); param.setName("영호"); HttpEntity<SignUpRequest> request = new HttpEntity<>(param); ResponseEntity<ApiResponse> result = restTemplate.exchange(baseUrl, HttpMethod.POST, request, ApiResponse.class); Assert.assertEquals(200, result.getStatusCodeValue()); Assert.assertTrue(Objects.requireNonNull(result.getBody()).isSuccess()); }