static List<List<AttributeImpl>> buildTokenSteamWithAttributes() {
List<List<AttributeImpl>> tokens = new ArrayList<List<AttributeImpl>>();
tokens.add( new ArrayList<AttributeImpl>() );
CharTermAttributeImpl charAttr = new CharTermAttributeImpl();
charAttr.append( "Wazzza" );
tokens.get( 0 ).add( charAttr );
PayloadAttributeImpl payloadAttribute = new PayloadAttributeImpl();
payloadAttribute.setPayload( new BytesRef( new byte[] { 0, 1, 2, 3 } ) );
tokens.get( 0 ).add( payloadAttribute );