METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_6 . schema , STRING_0 , ( ( new java . util . METHOD_2 ( ) . METHOD_3 ( ) ) OP_0 10 ) ) ; try ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_7 IDENT_8 = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_4 ( IDENT_5 , this . getClass ( ) . getResourceAsStream ( STRING_1 ) ) ) { java . util . List < java . util . Map < java . lang . String , java . lang . Object > > events = new java . util . ArrayList ( ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_9 = null ; while ( IDENT_8 . hasNext ( ) ) { final com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_10 . IDENT_11 < com . IDENT_0 . IDENT_1 . common . Schema . Field > IDENT_12 = IDENT_8 . next ( ) ; if ( IDENT_12 . METHOD_5 ( ) ) { if ( IDENT_9 != null ) { events . add ( IDENT_9 ) ; } IDENT_9 = new java . util . HashMap ( ) ; } else if ( IDENT_12 . METHOD_6 ( ) ) { final com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_10 . IDENT_11 . IDENT_13 < com . IDENT_0 . IDENT_1 . common . Schema . Field > IDENT_14 = IDENT_12 . METHOD_7 ( ) ; IDENT_9 . put ( METHOD_7 . field ( ) . getName ( ) , METHOD_7 . value ( ) ) ; } } "<AssertPlaceHolder>" ; } } METHOD_8 ( java . io . InputStream ) { try ( java . io . IDENT_15 IDENT_16 = new java . io . METHOD_9 ( new java . io . METHOD_10 ( IDENT_17 ) ) ) { java . util . List < java . util . Map < java . lang . String , java . lang . Object > > events = new java . util . ArrayList ( ) ; java . lang . String line ; while ( ( line = IDENT_16 . METHOD_11 ( ) ) != null ) { final java . lang . String [ ] IDENT_18 = line . split ( STRING_2 ) ; java . util . Map < java . lang . String , java . lang . Object > fields = new java . util . HashMap ( ) ; for ( java . lang . String IDENT_19 : IDENT_18 ) { final int index = IDENT_19 . indexOf ( STRING_3 ) ; fields . put ( IDENT_19 . substring ( 0 , index ) , IDENT_19 . substring ( ( index + 1 ) ) ) ; } events . add ( fields ) ; } return events ; } }
org . junit . Assert . assertEquals ( events , METHOD_8 ( this . getClass ( ) . getResourceAsStream ( STRING_1 ) ) )