public function testUpdateUserThrowsContentValidationException() { $userService = $this->repository->getUserService(); $contentService = $this->repository->getContentService(); $user = $userService->loadUser(14); $userUpdateStruct = $userService->newUserUpdateStruct(); $userUpdateStruct->contentUpdateStruct = $contentService->newContentUpdateStruct(); $userUpdateStruct->contentUpdateStruct->setField('name', '', 'eng-US'); $userService->updateUser($user, $userUpdateStruct); }