Long projectId = 1l;
String eventTypeValue = "NEW_ISSUE";
User user = User.find.byId(userId);
Project project = Project.find.byId(projectId);
EventType eventType = EventType.valueOf(eventTypeValue);
Watch.watch(user, project.asResource());
assertThat(user.getWatchingProjects().contains(project)).isTrue();
assertThat(UserProjectNotification.isEnabledNotiType(user, project, eventType)).isTrue();