### Question:
Event implements Serializable { public static Event from(Raw.Event sc2ApiEvent) { require("sc2api event", sc2ApiEvent); return new Event(sc2ApiEvent); } private  Event(Raw.Event sc2ApiEvent); static Event from(Raw.Event sc2ApiEvent); Set<Tag> getDeadUnits(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void throwsExceptionWhenSc2ApiEventIsNull() { assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> Event.from(nothing())) .withMessage("sc2api event is required"); }
@Test void convertsAllFieldsFromSc2ApiEvent() { assertThatAllFieldsAreConverted(Event.from(sc2ApiEvent())); }