@Test void buildShouldThrowOnMissingType() { assertThatThrownBy(() -> Disposition.builder() .actionMode(DispositionActionMode.Automatic) .sendingMode(DispositionSendingMode.Automatic) .build()) .isInstanceOf(IllegalStateException.class); }
public static Builder builder() { return new Builder(); }
Disposition implements Field { public static Builder builder() { return new Builder(); } }
Disposition implements Field { public static Builder builder() { return new Builder(); } @VisibleForTesting  Disposition(DispositionActionMode actionMode, DispositionSendingMode sendingMode, DispositionType type, List<DispositionModifier> modifiers); }
Disposition implements Field { public static Builder builder() { return new Builder(); } @VisibleForTesting  Disposition(DispositionActionMode actionMode, DispositionSendingMode sendingMode, DispositionType type, List<DispositionModifier> modifiers); static Builder builder(); DispositionActionMode getActionMode(); DispositionSendingMode getSendingMode(); DispositionType getType(); List<DispositionModifier> getModifiers(); @Override String formattedValue(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
Disposition implements Field { public static Builder builder() { return new Builder(); } @VisibleForTesting  Disposition(DispositionActionMode actionMode, DispositionSendingMode sendingMode, DispositionType type, List<DispositionModifier> modifiers); static Builder builder(); DispositionActionMode getActionMode(); DispositionSendingMode getSendingMode(); DispositionType getType(); List<DispositionModifier> getModifiers(); @Override String formattedValue(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); static final String FIELD_NAME; }