The context of the following conversation is Cameron was giving Robin and other students a test. Robin took Cameron's examination.:
Robin says I'm not great at taking tests, but at least I studied for this one..
The friend responds I didn't study at all!.
Robin responds Cameron likes to give everybody unexpected examinations. He thinks it tests our knowledge better if we're surprised and don't have time to prepare..
The friend responds I think it's unfair of Cameron to do that. I, for one, need prep time..