@Test public void when_collector_returns_one_entry_with_spring_value_1_a_table_is_build() throws Exception { DocAnnotationData a = new DocAnnotationData(); a.springValue="${something}"; a.description="the description"; List<DocAnnotationData> list = new ArrayList<>(); list.add(a); String generated = generatorToTest.generate(list); assertNotNull(generated); assertFalse(generated.isEmpty()); assertTrue(generated.indexOf("|===")!=-1); }
public String generate(List<DocAnnotationData> list) { return generate(list, AcceptAllSpringValueFilter.INSTANCE); }
SystemPropertiesDescriptionGenerator implements Generator { public String generate(List<DocAnnotationData> list) { return generate(list, AcceptAllSpringValueFilter.INSTANCE); } }
SystemPropertiesDescriptionGenerator implements Generator { public String generate(List<DocAnnotationData> list) { return generate(list, AcceptAllSpringValueFilter.INSTANCE); } SystemPropertiesDescriptionGenerator(); }
SystemPropertiesDescriptionGenerator implements Generator { public String generate(List<DocAnnotationData> list) { return generate(list, AcceptAllSpringValueFilter.INSTANCE); } SystemPropertiesDescriptionGenerator(); String generate(List<DocAnnotationData> list); String generate(List<DocAnnotationData> list, SpringValueFilter filter); }
SystemPropertiesDescriptionGenerator implements Generator { public String generate(List<DocAnnotationData> list) { return generate(list, AcceptAllSpringValueFilter.INSTANCE); } SystemPropertiesDescriptionGenerator(); String generate(List<DocAnnotationData> list); String generate(List<DocAnnotationData> list, SpringValueFilter filter);  }