@Test public void shouldParseEnumFieldWhereDescriptionIsNotAValidJavaIdentifierInMiddle() { final Field msgType = field("TrdRegPublicationType"); assertNotNull("Hasn't found TrdRegPublicationType", msgType); assertEquals("TrdRegPublicationType", msgType.name()); assertEquals(2669, msgType.number()); assertEquals(INT, msgType.type()); final List<Value> values = msgType.values(); assertEquals(new Value("0", "Pre_trade_transparency_waiver"), values.get(0)); assertEquals(new Value("1", "Post_trade_deferral"), values.get(1)); }
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);  }