@Test public void shouldThrowWhenAccountIdIsNull() { assertThatThrownBy(() -> GetMessagesRequest.builder().accountId(null)) .isInstanceOf(NullPointerException.class); }
public static Builder builder() { return new Builder(); }
GetMessagesRequest implements JmapRequest { public static Builder builder() { return new Builder(); } }
GetMessagesRequest implements JmapRequest { public static Builder builder() { return new Builder(); } GetMessagesRequest(Optional<String> accountId, ImmutableList<MessageId> ids, MessageProperties properties); }
GetMessagesRequest implements JmapRequest { public static Builder builder() { return new Builder(); } GetMessagesRequest(Optional<String> accountId, ImmutableList<MessageId> ids, MessageProperties properties); static Builder builder(); Optional<String> getAccountId(); ImmutableList<MessageId> getIds(); MessageProperties getProperties(); }
GetMessagesRequest implements JmapRequest { public static Builder builder() { return new Builder(); } GetMessagesRequest(Optional<String> accountId, ImmutableList<MessageId> ids, MessageProperties properties); static Builder builder(); Optional<String> getAccountId(); ImmutableList<MessageId> getIds(); MessageProperties getProperties();  }