GetEvents()
Refactoring and test coverage.