def METHOD_NAME(self):
    print("Starting test_get_snapshot_by_name")
    set_bodiless_matcher()
    volumeName1 = self.get_resource_name(setup.TEST_VOL_1+"-")
    snapshotname = self.get_resource_name(setup.TEST_SNAPSHOT_1+"-")
    try:      
        create_snapshot(self.client, setup.TEST_RG, setup.PERMA_ACCOUNT, setup.PERMA_POOL, volumeName1, snapshotname, setup.LOCATION, vnet=setup.PERMA_VNET)
        snapshot = self.client.snapshots.get(setup.TEST_RG, setup.PERMA_ACCOUNT, setup.PERMA_POOL, volumeName1, snapshotname)
        assert snapshot.name == setup.PERMA_ACCOUNT + '/' + setup.PERMA_POOL + '/' + volumeName1+ '/' + snapshotname
    finally:
        delete_snapshot(self.client, setup.TEST_RG, setup.PERMA_ACCOUNT, setup.PERMA_POOL, volumeName1, snapshotname)
        delete_volume(self.client, setup.TEST_RG, setup.PERMA_ACCOUNT, setup.PERMA_POOL, volumeName1)
    print("Finished with test_get_snapshot_by_name"