### Question:
AAIClientHelper { public void createRelationship(String managingEcompOperationalEnvironmentId, String vnfOperationalEnvironmentId) { AAIResourceUri ecompEnvUri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure() .operationalEnvironment(managingEcompOperationalEnvironmentId)); AAIResourceUri vnfEnvUri = AAIUriFactory.createResourceUri( AAIFluentTypeBuilder.cloudInfrastructure().operationalEnvironment(vnfOperationalEnvironmentId)); AAIResourcesClient client = this.getClient(); client.connect(vnfEnvUri, ecompEnvUri); }  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 testcreateRelationshipSuccess() { 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.setTenantContext("Test"); ecompEnv.setWorkloadContext("ECOMPL_PSL"); try { AAIClientHelper clientHelper = mock(AAIClientHelper.class); doNothing().when(clientHelper).createRelationship(anyString(), anyString()); clientHelper.createRelationship("managingEcomp", "vnfOp"); verify(clientHelper, times(1)).createRelationship("managingEcomp", "vnfOp"); } catch (Exception e) { fail("shouldn't reach here"); } }