@Test
void testDelete() {

    // Given
    final var nodeName = TestData.createNodeName();
    final var path = TestData.createPath();
    final var indexVolumeGroup = createGroup(TestData.createVolumeGroupName());
    final var indexVolume = createVolume(nodeName, path, indexVolumeGroup.getId());
    // When
    indexVolumeDao.delete(indexVolume.getId());
    // Then
    final var deletedVolumeOptional = indexVolumeDao.fetch(indexVolume.getId());
    assertThat(deletedVolumeOptional.isPresent()).isFalse();
}