def METHOD_NAME(self):
    super().METHOD_NAME()
    self.snapcraft_yaml = fixture_setup.SnapcraftYaml(
        self.path,
        parts={"part0": {"plugin": "nil"}},
    )
    self.useFixture(self.snapcraft_yaml)
    self.mock_lc_init = self.useFixture(
        fixtures.MockPatch(
            "snapcraft_legacy.cli.remote.LaunchpadClient", autospec=True
        )
    ).mock
    self.mock_lc = self.mock_lc_init.return_value
    self.mock_lc_architectures = mock.PropertyMock(return_value=["i386"])
    type(self.mock_lc).architectures = self.mock_lc_architectures
    self.mock_lc.has_outstanding_build.return_value = False
    self.mock_project = self.useFixture(
        fixtures.MockPatchObject(
            snapcraft_legacy.project.Project,
            "_get_project_directory_hash",
            return_value="fakehash123",
        )
    )