@Test public void orderShouldBeIntMaxIfFeatureDoesNotHaveOrderTag() { final FeatureSection section = new FeatureSection(FeatureBuilder.instance().build()); assertEquals(Integer.MAX_VALUE, section.getOrder()); }
@Override public int getOrder() { return feature.getOrder(); }
FeatureSection implements Section { @Override public int getOrder() { return feature.getOrder(); } }
FeatureSection implements Section { @Override public int getOrder() { return feature.getOrder(); } FeatureSection(Feature feature); }
FeatureSection implements Section { @Override public int getOrder() { return feature.getOrder(); } FeatureSection(Feature feature); @Override Section addFeature(Feature feature); @Override String render(CukedoctorDocumentBuilder docBuilder, I18nLoader i18n, DocumentAttributes documentAttributes); @Override int getOrder(); @Override Stream<Feature> getFeatures(); }
FeatureSection implements Section { @Override public int getOrder() { return feature.getOrder(); } FeatureSection(Feature feature); @Override Section addFeature(Feature feature); @Override String render(CukedoctorDocumentBuilder docBuilder, I18nLoader i18n, DocumentAttributes documentAttributes); @Override int getOrder(); @Override Stream<Feature> getFeatures();  }