### Question:
AAIConfigurationResources { public void connectConfigurationToVfModule(String configurationId, String vnfId, String vfModuleId) { AAIResourceUri configurationURI = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().configuration(configurationId)); AAIResourceUri vfModuleURI = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(vnfId).vfModule(vfModuleId)); injectionHelper.getAaiClient().connect(configurationURI, vfModuleURI); }  void createConfiguration(Configuration configuration); Optional<org.onap.aai.domain.yang.Configuration> getConfiguration(String configurationId); void updateConfiguration(Configuration configuration); void disconnectConfigurationToServiceInstance(String configurationId, String serviceInstanceId); void connectVrfConfigurationToVnrConfiguration(String vrfConfigurationId, String vnrConfigurationId); void connectConfigurationToPnfObject(String pnfId, String configurationId); void connectConfigurationToServiceInstance(String configurationId, String serviceInstanceId); void connectConfigurationToServiceInstance(String configurationId, String serviceInstanceId,
            AAIEdgeLabel aaiLabel); void connectConfigurationToGenericVnf(String configurationId, String genericVnfId); void connectConfigurationToVpnBinding(String configurationId, String vpnId); void connectConfigurationToVfModule(String configurationId, String vnfId, String vfModuleId); void connectConfigurationToVnfc(String configurationId, String vnfcName); void connectConfigurationToL3Network(String configurationId, String networkId); void deleteConfiguration(String configurationId); void deleteConfiguration(Configuration configuration); Optional<org.onap.aai.domain.yang.Configuration> getConfigurationFromRelatedLink(String relatedLink); void updateOrchestrationStatusConfiguration(Configuration configuration,
            OrchestrationStatus orchestrationStatus); void updateConfigurationOrchestrationStatus(Configuration configuration,
            OrchestrationStatus orchestrationStatus);  }### Answer:
@Test public void connectConfigurationToVfModuleTest() { doNothing().when(MOCK_aaiResourcesClient).connect(isA(AAIResourceUri.class), isA(AAIResourceUri.class)); aaiConfigurationResources.connectConfigurationToVfModule(configuration.getConfigurationId(), vfModule.getVfModuleId(), genericVnf.getVnfId()); verify(MOCK_aaiResourcesClient, times(1)).connect(any(AAIResourceUri.class), any(AAIResourceUri.class)); }