@Test public void shouldPrependNumInGroupWithNoForFix44RepeatingGroup() { final Field field = field("LinesOfText"); assertThat(field.name(), is("NoLinesOfText")); final Message newsMessage = dictionary .messages() .stream() .filter((m) -> m.name().equals("News")) .findFirst() .orElseThrow(() -> new AssertionError("Did not find news message")); final Entry linesOfText = newsMessage.entries().get(0); assertTrue(linesOfText.isGroup()); assertThat(((Group)linesOfText.element()).numberField().name(), is("NoLinesOfTextGroupCounter")); }
private String name(final NamedNodeMap attributes) { return getValue(attributes, "name"); }
DictionaryParser { private String name(final NamedNodeMap attributes) { return getValue(attributes, "name"); } }
DictionaryParser { private String name(final NamedNodeMap attributes) { return getValue(attributes, "name"); } DictionaryParser(final boolean allowDuplicates); }
DictionaryParser { private String name(final NamedNodeMap attributes) { return getValue(attributes, "name"); } DictionaryParser(final boolean allowDuplicates); Dictionary parse(final InputStream in, final Dictionary fixtDictionary); }
DictionaryParser { private String name(final NamedNodeMap attributes) { return getValue(attributes, "name"); } DictionaryParser(final boolean allowDuplicates); Dictionary parse(final InputStream in, final Dictionary fixtDictionary);  }