### Question:
AAIVolumeGroupResources { public void deleteVolumeGroup(VolumeGroup volumeGroup, CloudRegion cloudRegion) { AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure() .cloudRegion(cloudRegion.getCloudOwner(), cloudRegion.getLcpCloudRegionId()) .volumeGroup(volumeGroup.getVolumeGroupId())); injectionHelper.getAaiClient().delete(uri); }  void createVolumeGroup(VolumeGroup volumeGroup, CloudRegion cloudRegion); void updateOrchestrationStatusVolumeGroup(VolumeGroup volumeGroup, CloudRegion cloudRegion,
            OrchestrationStatus orchestrationStatus); void connectVolumeGroupToVnf(GenericVnf genericVnf, VolumeGroup volumeGroup, CloudRegion cloudRegion); void connectVolumeGroupToTenant(VolumeGroup volumeGroup, CloudRegion cloudRegion); void deleteVolumeGroup(VolumeGroup volumeGroup, CloudRegion cloudRegion); void updateHeatStackIdVolumeGroup(VolumeGroup volumeGroup, CloudRegion cloudRegion); boolean checkNameInUse(VolumeGroup volumeGroup);  }### Answer:
@Test public void deleteVolumeGroupTest() { doNothing().when(MOCK_aaiResourcesClient).delete(isA(AAIResourceUri.class)); aaiVolumeGroupResources.deleteVolumeGroup(volumeGroup, cloudRegion); verify(MOCK_aaiResourcesClient, times(1)).delete(any(AAIResourceUri.class)); }