public static Event createProfile(String name, @Nullable String data, @Nullable String description) {
    return new Event(name, Category.PROFILE, data, description);
  }
@Test
  public void createProfile_fail_fast_null_check_on_null_name() {
    assertThatThrownBy(() -> Event.createProfile(null, SOME_DATA, SOME_DESCRIPTION))
      .isInstanceOf(NullPointerException.class);
  }