### Question:
DefaultLoginConfigurationBuilder implements LoginConfigurationBuilder { @Override public LoginConfigurationBuilder order(int order) { this.order = order; return this; } DefaultLoginConfigurationBuilder(); @Override LoginConfigurationBuilder order(int order); @Override DefaultModuleBuilder loginModule(String appName); @Override LoginConfiguration build();  }### Answer:
@Test public void testOrder() { AppConfigurationEntry[] entries = this.configuration.getAppConfigurationEntry(JaasAuthConfig.JAAS_SERVICES); List<String> names = Arrays.stream(entries) .map(e -> e.getOptions().get("name")) .map(String.class::cast) .collect(Collectors.toList()); assertThat(names).containsExactly("1", "4", "2", "3"); }