Log the unexpected class rather than the expected one. It makes debugging that little bit easier when you don't need a crystal ball.