### Question:
ActionUiSelectLarva implements Sc2ApiSerializable<Ui.ActionSelectLarva> { public static ActionUiSelectLarva from(Ui.ActionSelectLarva sc2ApiActionSelectLarva) { require("sc2api action ui select larva", sc2ApiActionSelectLarva); return new ActionUiSelectLarva(); } private  ActionUiSelectLarva(); static ActionUiSelectLarva from(Ui.ActionSelectLarva sc2ApiActionSelectLarva); static ActionUiSelectLarva selectLarva(); @Override Ui.ActionSelectLarva toSc2Api(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void throwsExceptionWhenSc2ApiActionUiSelectLarvaIsNull() { assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> ActionUiSelectLarva.from(nothing())) .withMessage("sc2api action ui select larva is required"); }
@Test void convertsSc2ApiActionUiSelectLarvaToActionUiSelectLarva() { assertThat(ActionUiSelectLarva.from(sc2ApiActionUiSelectLarva())).as("action ui select larva").isNotNull(); }