def METHOD_NAME(self):
    with mock.patch(
            "pythonforandroid.util.LOGGER"
    ) as m_logger, TemporaryDirectory() as base_dir:
        new_path = Path(base_dir) / "new"
        # Set up source
        old_path = Path(base_dir) / "old"
        with open(old_path, "w") as outfile:
            outfile.write("Temporary content")
        # Non existent source
        with self.assertRaises(FileNotFoundError):
            util.move(new_path, new_path)
        m_logger.debug.assert_called()
        m_logger.error.assert_not_called()
        m_logger.reset_mock()
        assert old_path.exists()
        assert not new_path.exists()
        # Successful move
        util.move(old_path, new_path)
        assert not old_path.exists()
        assert new_path.exists()
        m_logger.debug.assert_called()
        m_logger.error.assert_not_called()
        m_logger.reset_mock()
        # Move over existing:
        existing_path = Path(base_dir) / "existing"
        existing_path.touch()
        util.move(new_path, existing_path)
        with open(existing_path, "r") as infile:
            assert infile.read() == "Temporary content"
        m_logger.debug.assert_called()
        m_logger.error.assert_not_called()
        m_logger.reset_mock()