### Question:
AAIVfModuleResources { public void connectVfModuleToVolumeGroup(GenericVnf vnf, VfModule vfModule, VolumeGroup volumeGroup, CloudRegion cloudRegion) { AAIResourceUri vfModuleURI = AAIUriFactory.createResourceUri( AAIFluentTypeBuilder.network().genericVnf(vnf.getVnfId()).vfModule(vfModule.getVfModuleId())); AAIResourceUri volumeGroupURI = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure() .cloudRegion(cloudRegion.getCloudOwner(), cloudRegion.getLcpCloudRegionId()) .volumeGroup(volumeGroup.getVolumeGroupId())); injectionHelper.getAaiClient().connect(vfModuleURI, volumeGroupURI); }  void createVfModule(VfModule vfModule, GenericVnf vnf); void deleteVfModule(VfModule vfModule, GenericVnf vnf); void updateOrchestrationStatusVfModule(VfModule vfModule, GenericVnf vnf,
            OrchestrationStatus orchestrationStatus); void updateHeatStackIdVfModule(VfModule vfModule, GenericVnf vnf); void updateContrailServiceInstanceFqdnVfModule(VfModule vfModule, GenericVnf vnf); void changeAssignVfModule(VfModule vfModule, GenericVnf vnf); void connectVfModuleToVolumeGroup(GenericVnf vnf, VfModule vfModule, VolumeGroup volumeGroup,
            CloudRegion cloudRegion); boolean checkNameInUse(VfModule vfModule);  }### Answer:
@Test public void connectVfModuleToVolumeGroupTest() throws Exception { VolumeGroup volumeGroup = buildVolumeGroup(); volumeGroup.setOrchestrationStatus(OrchestrationStatus.ASSIGNED); CloudRegion cloudRegion = buildCloudRegion(); aaiVfModuleResources.connectVfModuleToVolumeGroup(vnf, vfModule, volumeGroup, cloudRegion); verify(MOCK_aaiResourcesClient, times(1)).connect(any(AAIResourceUri.class), any(AAIResourceUri.class)); }