A literary trope of romantic deception, the "bed trick" appears in two Shakespeare plays, both problem plays. (Similar scenes, not technically bed tricks, also appear in Much Ado About Nothing and The Two Noble Kinsmen.) Name both plays.
All's Well That Ends Well, Measure for Measure