The only objective here is to deliver the event to the object, yes please find another way no matter how ugly it would be in real code, it's a test so that's allowed.