@Test public void shouldParseSimpleField() { final Field bodyLength = field("BodyLength"); assertNotNull("Hasn't found BodyLength", bodyLength); assertEquals("BodyLength", bodyLength.name()); assertEquals(9, bodyLength.number()); assertEquals(Type.INT, bodyLength.type()); }
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);  }