Closed weidongxu-microsoft closed 4 months ago
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.developer.devcenter.generated; import com.azure.core.util.polling.SyncPoller; import com.azure.developer.devcenter.models.DevBox; import com.azure.developer.devcenter.models.DevCenterOperationDetails; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @Disabled public final class CreatesOrReplacesADevBoxTests extends DevCenterClientTestBase { @Test @Disabled public void testCreatesOrReplacesADevBoxTests() { // method invocation SyncPoller<DevCenterOperationDetails, DevBox> response = devBoxesClient.beginCreateDevBox("myProject", "me", "MyDevBox", new DevBox("LargeDevWorkStationPool")); // response assertion Assertions.assertEquals(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, response.waitForCompletion().getStatus()); } }
Miss mapOf as well.
mapOf
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.developer.devcenter.generated; import com.azure.core.util.polling.SyncPoller; import com.azure.developer.devcenter.models.DevCenterEnvironment; import com.azure.developer.devcenter.models.DevCenterOperationDetails; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @Disabled public final class CreatesOrUpdatesAnEnvironmentTests extends DevCenterClientTestBase { @Test @Disabled public void testCreatesOrUpdatesAnEnvironmentTests() { // method invocation SyncPoller<DevCenterOperationDetails, DevCenterEnvironment> response = deploymentEnvironmentsClient.beginCreateOrUpdateEnvironment("myProject", "me", "mydevenv", new DevCenterEnvironment("DevTest", "main", "helloworld") .setParameters(mapOf("functionAppRuntime", "node", "storageAccountType", "Standard_LRS"))); // response assertion Assertions.assertEquals(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, response.waitForCompletion().getStatus()); } }
Miss
mapOf
as well.