def METHOD_NAME(self):
    with TempSubvolumes() as ts:
        subvol = self._setup_subvol(ts)
        MetaKeyValueStoreItem(
            key="key",
            value="value",
        ).build(subvol, DUMMY_LAYER_OPTS)
        with self.assertRaisesRegex(
            RuntimeError,
            "Key `key2` does not exist and cannot be removed",
        ):
            RemoveMetaKeyValueStoreItem.get_phase_builder(
                [RemoveMetaKeyValueStoreItem(key="key2")],
                DUMMY_LAYER_OPTS,
            )(subvol)