As Beth helped Joey and Ethan with their Social Studies work, she thought to herself, this must be how Hermione Granger from Harry Potter feels.

What is the above passage an example of?
A.
idiom
B.
personification
C.
allusion
D.
foreshadowing
PLEASE HELP FAST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!