def METHOD_NAME(self):
    super().METHOD_NAME()
    self.useFixture(fixtures.FakeLogger(level=logging.ERROR))
    temp_cwd = fixture_setup.TempCWD()
    self.useFixture(temp_cwd)
    snapcraft_yaml = fixture_setup.SnapcraftYaml(
        temp_cwd.path, base="core20", parts={"test-part": {"plugin": "nil"}}
    )
    self.useFixture(snapcraft_yaml)
    project = Project(
        snapcraft_yaml_file_path=snapcraft_yaml.snapcraft_yaml_file_path
    )
    self.global_state_filepath = project._get_global_state_file_path()
    self.project_config = project_loader.load_config(project)
    self.useFixture(
        fixtures.MockPatchObject(
            self.project_config, "get_build_snaps", return_value={"core20"}
        )
    )
    self.useFixture(
        fixtures.MockPatch(
            "snapcraft_legacy.internal.lifecycle._runner._Executor.run"
        )
    )
    self.useFixture(
        fixtures.MockPatch("snapcraft_legacy.internal.repo.snaps.install_snaps")
    )
    # Avoid unnecessary calls to info.
    channel_map = []
    for arch in ("amd64", "i386", "s390x", "arm64", "armhf", "ppc64el"):
        channel_map.append(
            {
                "channel": {
                    "architecture": arch,
                    "name": "stable",
                    "released-at": "2019-10-15T13:54:06.800280+00:00",
                    "risk": "stable",
                    "track": "latest",
                },
                "confinement": "strict",
                "download": {
                    "deltas": [],
                    "sha3-384": "64d232d6bfa65be14d7f8d84e952d4e372e12021e2c3dbaf70cf2af5e78bf51c4baf9c9107dd6db815064636b781bda6",
                    "size": 57151488,
                    "url": "https://api.snapcraft.io/api/v1/snaps/download/CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6_1223.snap",
                },
                "revision": 1223,
            }
        )
    info = {
        "channel-map": channel_map,
        "default-track": None,
        "name": "core20",
        "snap": {
            "name": "core20",
            "publisher": {
                "display-name": "Canonical",
                "id": "canonical",
                "username": "canonical",
                "validation": "verified",
            },
            "snap-id": "CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6",
        },
        "snap-id": "CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6",
    }
    self.fake_storeapi_get_info = fixtures.MockPatch(
        "snapcraft_legacy.storeapi._snap_api.SnapAPI.get_info",
        return_value=SnapInfo(info),
    )
    self.useFixture(self.fake_storeapi_get_info)