String username = "testWebSpaceUsername01";
String userpassword = "testWebSpacePWD01";
// Arrange
WebSpacesCreatePublishingUserParameters createParameters = new WebSpacesCreatePublishingUserParameters();
createParameters.setName(webSpaceName);
createParameters.setPublishingUserName(username);
createParameters.setPublishingPassword(userpassword);
// Act
WebSpacesCreatePublishingUserResponse webSpaceCreateResponse = webSiteManagementClient.getWebSpacesOperations().createPublishingUser(username, userpassword, createParameters);
// Assert