def test_darwin(self):
        MultipassCommand.setup_multipass(platform="darwin", echoer=self.echoer_mock)

        self.check_call_mock.assert_called_once_with(
            ["brew", "cask", "install", "multipass"]
        )
        self.echoer_mock.wrapped.assert_called_once_with("Waiting for multipass...")
    def test_linux(self):
        self.fake_snapd.snaps_result = [
            dict(name="multipass", channel="beta", revision="10")
        ]
        self.fake_snapd.find_result = [
            dict(multipass=dict(
                channels={"latest/beta": dict(confinement="classic")}))
        ]
        MultipassCommand.setup_multipass(platform="linux",
                                         echoer=self.echoer_mock)

        self.echoer_mock.wrapped.assert_called_once_with(
            "Waiting for multipass...")