Random Riddle: 8-23-2016

A teacher decides to give a pop quiz one day but all of her students refuse to take the quiz thinking that the teacher will call off the quiz. She can give only one of these students a detention for skipping the quiz. All of the students know each other’s names and if a student knows he/she is getting a detention they take the quiz.

How can she threaten her students with the single detention so they all take the quiz?
 

Riddle