StubEventHandler sutiable for unit tests added.