@Test void builderShouldNotRequireFlagsInstanceWhenUserFlagsDefined() { Flags actual = FlagsFactory.builder().addUserFlags("userFlag").build(); assertThat(actual.getUserFlags()).containsOnly("userFlag"); }
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();  }