minimal event spy, unit tested with maven embbeder.

Change-Id: I705d92a9f59c62b776c696f75d499e378a2ca792