def METHOD_NAME(self):
    d = MissingDependencyResolver(elf_files=["/bin/bash", "/bin/sh"])
    self.assertThat(d._stage_packages_dependencies, Equals({"bash", "dash"}))
    self.assertThat(d._unhandled_dependencies, Equals(set()))
    echoer = mock.Mock()
    d.print_resolutions(
        part_name="fake-part", stage_packages_exist=True, echoer=echoer
    )
    echoer.warning.assert_called_once_with(
        "The 'fake-part' part is missing libraries that are not included "
        "in the snap or base. They can be satisfied by adding the "
        "following entries to the existing stage-packages for this part:\n- bash\n- dash"
    )
    echoer.reset_mock()
    d.print_resolutions(
        part_name="fake-part", stage_packages_exist=False, echoer=echoer
    )
    echoer.warning.assert_called_once_with(
        "The 'fake-part' part is missing libraries that are not included "
        "in the snap or base. They can be satisfied by adding the "
        "following entry for this part\nstage-packages:\n- bash\n- dash"
    )