DataWffId extends DataAttribute { static int getAttrNameIndex() { return PRE_INDEXED_ATTR_NAME.index(); } DataWffId(final String value); @Override void setValue(final String value); @Override String getAttributeName(); @Override String getAttributeValue(); @Override String getValue(); static final String ATTRIBUTE_NAME; @Deprecated
    static final String TAG_NAME; }
@Test public void testGetAttrNameIndex() { { DataWffId dataWffId = new DataWffId("S152"); assertEquals((int) AttributeRegistry.getIndexByAttributeName(DataWffId.ATTRIBUTE_NAME), dataWffId.getAttrNameIndex()); assertNotEquals(-1, dataWffId.getAttrNameIndex()); } }