Genesis 3:15
Did God's test in Eden constitute entrapment?
Did the incident constitute "entrapment"? No -- modern courts of law have some pretty detailed descriptions of what constitutes "entrapment", and this doesn't fit it, even if the purpose of the Tree was to test the obedience of the First Couple. Entrapment as a defense has been carefully defined over the years, and it is fully agreed that "entrapment" only occurs when an official intends by actions or words to encourage someone to commit an offense, exercising direct influence upon them in some fashion. Entrapment involves the conception and planning of an offense by an officer, and his procurement of its commission by one who would not have perpetrated it except for the trickery, persuasion, or fraud of the officer. God's clear boundary and warning lacked any such trickery or persuasion to disobey.