### Question:
AssignNetworkBBUtils { public void getCloudRegion(BuildingBlockExecution execution) { try { GeneralBuildingBlock gBBInput = execution.getGeneralBuildingBlock(); CloudRegion cloudRegion = gBBInput.getCloudRegion(); String cloudRegionSdnc; String cloudRegionPo = cloudRegion.getLcpCloudRegionId(); if ("2.5".equalsIgnoreCase(cloudRegion.getCloudRegionVersion())) { cloudRegionSdnc = "AAIAIC25"; } else { cloudRegionSdnc = cloudRegionPo; } execution.setVariable("cloudRegionPo", cloudRegionPo); execution.setVariable("cloudRegionSdnc", cloudRegionSdnc); } catch (Exception ex) { exceptionUtil.buildAndThrowWorkflowException(execution, 7000, ex); } }  boolean networkFoundByName(BuildingBlockExecution execution); void getCloudRegion(BuildingBlockExecution execution); void processSilentSuccess(BuildingBlockExecution execution); void failOrchestrationStatus(BuildingBlockExecution execution);  }### Answer:
@Test public void getCloudRegionTest25() throws Exception { cloudRegion.setCloudRegionVersion("2.5"); nonMockAssignNetworkBBUtils.getCloudRegion(execution); assertEquals(cloudRegion.getLcpCloudRegionId(), execution.getVariable("cloudRegionPo")); assertEquals("AAIAIC25", execution.getVariable("cloudRegionSdnc")); }
@Test public void getCloudRegionTest30() throws Exception { cloudRegion.setCloudRegionVersion("3.0"); nonMockAssignNetworkBBUtils.getCloudRegion(execution); assertEquals(cloudRegion.getLcpCloudRegionId(), execution.getVariable("cloudRegionPo")); assertEquals(cloudRegion.getLcpCloudRegionId(), execution.getVariable("cloudRegionSdnc")); }