### Question:
AAIVnfResources { public void connectVnfToCloudRegion(GenericVnf vnf, CloudRegion cloudRegion) { AAIResourceUri cloudRegionURI = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure() .cloudRegion(cloudRegion.getCloudOwner(), cloudRegion.getLcpCloudRegionId())); AAIResourceUri vnfURI = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(vnf.getVnfId())); injectionHelper.getAaiClient().connect(vnfURI, cloudRegionURI); }  void createVnfandConnectServiceInstance(GenericVnf vnf, ServiceInstance serviceInstance); void createPlatformandConnectVnf(Platform platform, GenericVnf vnf); void createLineOfBusinessandConnectVnf(LineOfBusiness lineOfBusiness, GenericVnf vnf); void deleteVnf(GenericVnf vnf); void updateOrchestrationStatusVnf(GenericVnf vnf, OrchestrationStatus orchestrationStatus); void updateObjectVnf(GenericVnf vnf); Optional<org.onap.aai.domain.yang.GenericVnf> getGenericVnf(String vnfId); boolean checkInMaintFlag(String vnfId); void connectVnfToCloudRegion(GenericVnf vnf, CloudRegion cloudRegion); void connectVnfToTenant(GenericVnf vnf, CloudRegion cloudRegion); boolean checkVnfClosedLoopDisabledFlag(String vnfId); boolean checkVnfPserversLockedFlag(String vnfId); boolean checkNameInUse(String vnfName); AAIResultWrapper queryVnfWrapperById(GenericVnf vnf); Optional<Vserver> getVserver(AAIResourceUri uri);  }### Answer:
@Test public void connectVnfToCloudRegionTest() throws Exception { aaiVnfResources.connectVnfToCloudRegion(genericVnf, cloudRegion); verify(MOCK_aaiResourcesClient, times(1)).connect( eq(AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(genericVnf.getVnfId()))), eq(AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure() .cloudRegion(cloudRegion.getCloudOwner(), cloudRegion.getLcpCloudRegionId())))); }