At least in likeness, for Jesus to be 'tempted as we are."  Good, hard question.    More below:
Read this theological treatise.   Then: Got Questions (Dallas Theological) gives all perspectives without committing to any one of them, thus, I think, A fair offering for what is on the table.   In...