### Question:
CreateVnfOperationalEnvironment { protected String getEcompManagingEnvironmentId() throws TenantIsolationException { RelatedInstanceList[] relatedInstances = request.getRequestDetails().getRelatedInstanceList(); if (relatedInstances.length > 0 && relatedInstances[0].getRelatedInstance() != null) { return relatedInstances[0].getRelatedInstance().getInstanceId(); } else { return null; } }  void execute(String requestId, CloudOrchestrationRequest request); void setRequest(CloudOrchestrationRequest request);  }### Answer:
@Test public void testGetEcompManagingEnvironmentId() throws Exception { createVnfOpEnv.setRequest(request); assertEquals("ff305d54-75b4-431b-adb2-eb6b9e5ff000", createVnfOpEnv.getEcompManagingEnvironmentId()); }