NOJIRA added mock and set for earlyAlertService for tests.