@Test void builderShouldAllowFilteringOnEmptyFlags() { Flags actual = FlagsFactory.builder() .flags(emptyFlags) .filteringFlags( FlagsFilter .builder() .systemFlagFilter(f -> f.equals(Flag.SEEN)) .userFlagFilter(f -> f.equals("soCool")) .build()) .build(); assertThat(actual).isNotNull(); }
public static Builder builder() { return new Builder(); }
FlagsFactory { public static Builder builder() { return new Builder(); } }
FlagsFactory { public static Builder builder() { return new Builder(); }  }
FlagsFactory { public static Builder builder() { return new Builder(); }  static Flags createFlags(MailboxMessage mailboxMessage, String[] userFlags); static Builder builder(); static Flags empty(); }
FlagsFactory { public static Builder builder() { return new Builder(); }  static Flags createFlags(MailboxMessage mailboxMessage, String[] userFlags); static Builder builder(); static Flags empty();  }