### Question:
UserRequest { public SCIMResponse<User> createUser(User user) { return resourceRequestDelegate.createResource(user); } UserRequest(WebTarget targetSystem, SCIMRequest scimRequest); SCIMResponse<User> createUser(User user); SCIMResponse<User> readSingleUser(String id); SCIMResponse<PagedByIndexSearchResult<User>> readAllUsers(); SCIMResponse<PagedByIndexSearchResult<User>> readAllUsers(String scimFilter); SCIMResponse<PagedByIndexSearchResult<User>> readMultipleUsers(); SCIMResponse<PagedByIndexSearchResult<User>> readMultipleUsers(String filter); SCIMResponse<PagedByIdentitySearchResult<User>> readMultipleUsers(IdentityPageQuery identityPageQuery); SCIMResponse<PagedByIdentitySearchResult<User>> readMultipleUsers(IdentityPageQuery identityPageQuery, String filter); SCIMResponse<PagedByIndexSearchResult<User>> readMultipleUsers(IndexPageQuery indexPageQuery); SCIMResponse<PagedByIndexSearchResult<User>> readMultipleUsers(IndexPageQuery indexPageQuery, String filter); SCIMResponse<PagedByIndexSearchResult<User>> readMultipleUsersWithoutPaging(); SCIMResponse<PagedByIndexSearchResult<User>> readMultipleUsersWithoutPaging(String filter); SCIMResponse<User> updateUser(User user); SCIMResponse<Void> patchUser(PatchBody patchBody, String userId); SCIMResponse<Void> deleteUser(String userId);  }### Answer:
@Test public void createUser() throws IOException { String userJsonDataFileName = "create_user.json"; User user = readRequestObjectFromFile(userJsonDataFileName, User.class); JsonNode jsonResponse = readResponseUserAsJsonNodeFromFile(userJsonDataFileName); wireMockServer.stubFor(post(urlEqualTo("/Users")).willReturn(configureMockedResponse(CREATED, jsonResponse))); User responseUser = SCIMClientService.builder(DEFAULT_URL) .build() .buildUserRequest() .createUser(user) .get(); assertAll(getAllUserAttributeAssertions(responseUser)); }