public static Event createAlert(String name, @Nullable String data, @Nullable String description) {
    return new Event(name, Category.ALERT, data, description);
  }
@Test
  public void same_name_and_category_make_equal_events() {
    Event source = Event.createAlert(SOME_NAME, null, null);
    assertThat(source)
      .isEqualTo(Event.createAlert(SOME_NAME, null, null))
      .isEqualTo(source)
      .isNotNull();
  }