### Question:
AAIClientHelper { public void createOperationalEnvironment(OperationalEnvironment operationalEnvironment) { AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure() .operationalEnvironment(operationalEnvironment.getOperationalEnvironmentId())); AAIResourcesClient client = this.getClient(); client.create(uri, operationalEnvironment); }  AAIResultWrapper getAaiOperationalEnvironment(String id); void updateAaiOperationalEnvironment(String id, OperationalEnvironment aaiRequest); void updateAaiOperationalEnvironment(String operationalEnvironmentId, Map<String, String> payload); void createOperationalEnvironment(OperationalEnvironment operationalEnvironment); void createRelationship(String managingEcompOperationalEnvironmentId, String vnfOperationalEnvironmentId);  }### Answer:
@Test public void testCreateSuccess() { wireMockServer.stubFor( put(urlPathMatching("/aai/" + AAIVersion.LATEST + "/cloud-infrastructure/operational-environments/.*")) .willReturn(aResponse().withHeader("Content-Type", "application/json") .withStatus(HttpStatus.SC_ACCEPTED))); OperationalEnvironment ecompEnv = new OperationalEnvironment(); ecompEnv.setOperationalEnvironmentId("opeEvnId"); ecompEnv.setTenantContext("Test"); ecompEnv.setWorkloadContext("ECOMPL_PSL"); try { AAIClientHelper clientHelper = mock(AAIClientHelper.class); doNothing().when(clientHelper).createOperationalEnvironment(any(OperationalEnvironment.class)); clientHelper.createOperationalEnvironment(ecompEnv); verify(clientHelper, times(1)).createOperationalEnvironment(ecompEnv); } catch (Exception e) { fail("shouldn't reach here"); } }