def METHOD_NAME(self):
    self.assertEqual(
        True,
        check_scopes({'read:dataset:test1.zarr'},
                     None,
                     is_substitute=True)
    )
    self.assertEqual(
        True,
        check_scopes({'read:dataset:test1.zarr'},
                     {'read:dataset:test1.zarr'})
    )
    self.assertEqual(
        True,
        check_scopes({'read:dataset:test1.zarr'},
                     {'read:dataset:test?.zarr'})
    )
    self.assertEqual(
        True,
        check_scopes({'read:dataset:test1.zarr'},
                     {'read:dataset:test1.*'})
    )