def METHOD_NAME(self):
    result = self.run_command(
        [
            "remote-build",
            "--launchpad-accept-public-upload",
            "--build-id",
            "snapcraft-test-snap-foo",
        ]
    )
    self.mock_lc_init.assert_called_once_with(
        project=mock.ANY,
        architectures=mock.ANY,
        deadline=mock.ANY,
        build_id="snapcraft-test-snap-foo",
    )
    self.mock_lc.start_build.assert_called_once()
    self.mock_lc.cleanup.assert_called_once()
    self.assertThat(result.output, Contains("Building snap package for i386."))
    self.assertThat(result.exit_code, Equals(0))