Casandra Whitmoore, Defense Against the Dark Arts