@Test
public void updateRequestContext_test() {

    ServiceFactory sFactory = system.getServiceFactory();
    UserService userService = sFactory.getUserService();
    Alert alert = new Alert(userService.findAdminUser(), userService.findAdminUser(), "alert-name_test", EXPRESSION, "* * * * *");
    alertService.updateRequestContext(alert);
    assertNotNull(RequestContextHolder.getRequestContext());
    assertEquals(userService.findAdminUser().getUserName() + "-alert", RequestContextHolder.getRequestContext().getUserName());
}