@Test public void builderShouldThrowOnNullRole() { assertThatThrownBy(() -> MailboxCreateRequest.builder().role(null)).isInstanceOf(NullPointerException.class); }
public static Builder builder() { return new Builder(); }
MailboxCreateRequest { public static Builder builder() { return new Builder(); } }
MailboxCreateRequest { public static Builder builder() { return new Builder(); } @VisibleForTesting  MailboxCreateRequest(Optional<String> id, String name, Optional<MailboxCreationId> parentId, Optional<Role> role, Optional<SortOrder> sortOrder); }
MailboxCreateRequest { public static Builder builder() { return new Builder(); } @VisibleForTesting  MailboxCreateRequest(Optional<String> id, String name, Optional<MailboxCreationId> parentId, Optional<Role> role, Optional<SortOrder> sortOrder); static Builder builder(); Optional<String> getId(); String getName(); Optional<MailboxCreationId> getParentId(); Optional<Role> getRole(); Optional<SortOrder> getSortOrder(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override String toString(); }
MailboxCreateRequest { public static Builder builder() { return new Builder(); } @VisibleForTesting  MailboxCreateRequest(Optional<String> id, String name, Optional<MailboxCreationId> parentId, Optional<Role> role, Optional<SortOrder> sortOrder); static Builder builder(); Optional<String> getId(); String getName(); Optional<MailboxCreationId> getParentId(); Optional<Role> getRole(); Optional<SortOrder> getSortOrder(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override String toString();  }