To be useful, this assertion should log the actual delegate object, not just its class.