mock out event publisher to fix PD unit tests