### Question:
UserRequest { public SCIMResponse<Void> patchUser(PatchBody patchBody, String userId) { return resourceRequestDelegate.patchResource(patchBody, userId); } 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 patchUser() throws IOException { String sampleUserId = UUID.randomUUID().toString(); PatchBody patchBody = readRequestObjectFromFile("patch_user.json", PatchBody.class); wireMockServer.stubFor(patch(urlEqualTo("/Users/" + sampleUserId)).willReturn(noContent())); SCIMResponse<Void> response = SCIMClientService.builder(DEFAULT_URL) .addProperty(SET_METHOD_WORKAROUND, true) .build() .buildUserRequest() .patchUser(patchBody, sampleUserId); assertTrue(response.isSuccess()); }