def METHOD_NAME(self):
    """If apply_user_mods is called twice, the second should appear after the first so that it takes precedence."""
    self.createUserMod("foo1")
    self.createUserMod("foo2")
    apply_user_mods(
        self._caseroot, os.path.join(self._user_mods_parent_dir, "foo1")
    )
    apply_user_mods(
        self._caseroot, os.path.join(self._user_mods_parent_dir, "foo2")
    )
    self.assertResults(
        expected_user_nl_cpl="foo1\nfoo2\n",
        expected_shell_commands_result="foo1\nfoo2\n",
        expected_sourcemod="foo2\n",
        msg="test_two_applications",
    )