@Test void buildShouldThrowWhenQueryIsNull() { assertThatThrownBy(() -> MultimailboxesSearchQuery.from(null)) .isInstanceOf(NullPointerException.class); }
public static Builder from(SearchQuery searchQuery) { return new Builder(searchQuery); }
MultimailboxesSearchQuery { public static Builder from(SearchQuery searchQuery) { return new Builder(searchQuery); } }
MultimailboxesSearchQuery { public static Builder from(SearchQuery searchQuery) { return new Builder(searchQuery); } @VisibleForTesting  MultimailboxesSearchQuery(SearchQuery searchQuery, ImmutableSet<MailboxId> inMailboxes, ImmutableSet<MailboxId> notInMailboxes, Namespace namespace); }
MultimailboxesSearchQuery { public static Builder from(SearchQuery searchQuery) { return new Builder(searchQuery); } @VisibleForTesting  MultimailboxesSearchQuery(SearchQuery searchQuery, ImmutableSet<MailboxId> inMailboxes, ImmutableSet<MailboxId> notInMailboxes, Namespace namespace); static Builder from(SearchQuery searchQuery); ImmutableSet<MailboxId> getInMailboxes(); ImmutableSet<MailboxId> getNotInMailboxes(); SearchQuery getSearchQuery(); Namespace getNamespace(); }
MultimailboxesSearchQuery { public static Builder from(SearchQuery searchQuery) { return new Builder(searchQuery); } @VisibleForTesting  MultimailboxesSearchQuery(SearchQuery searchQuery, ImmutableSet<MailboxId> inMailboxes, ImmutableSet<MailboxId> notInMailboxes, Namespace namespace); static Builder from(SearchQuery searchQuery); ImmutableSet<MailboxId> getInMailboxes(); ImmutableSet<MailboxId> getNotInMailboxes(); SearchQuery getSearchQuery(); Namespace getNamespace();  }