// Arrange
createServerFarm(webSpaceName);
// Act
ServerFarmUpdateParameters updateParameters = new ServerFarmUpdateParameters();
updateParameters.setCurrentNumberOfWorkers(currentNumberOfWorkersValue);
updateParameters.setCurrentWorkerSize(ServerFarmWorkerSize.Medium);
updateParameters.setNumberOfWorkers(numberOfWorkersValue);
updateParameters.setStatus(ServerFarmStatus.Ready);
updateParameters.setWorkerSize(ServerFarmWorkerSize.Medium);
ServerFarmUpdateResponse updateOperationResponse = webSiteManagementClient.getServerFarmsOperations().update(webSpaceName, updateParameters);
// Assert
Assert.assertEquals(200, updateOperationResponse.getStatusCode());
Assert.assertNotNull(updateOperationResponse.getRequestId());