METHOD_0 ( ) { java . math . BigDecimal IDENT_0 = new java . math . BigDecimal ( STRING_0 ) ; java . io . ByteArrayOutputStream IDENT_1 = new java . io . ByteArrayOutputStream ( ) ; com . streamsets . pipeline . api . ext . IDENT_2 writer = com . streamsets . IDENT_3 . record . io . IDENT_4 . METHOD_1 ( IDENT_5 . IDENT_6 , IDENT_1 ) ; com . streamsets . IDENT_3 . record . IDENT_7 IDENT_8 = new com . streamsets . IDENT_3 . record . METHOD_2 ( STRING_1 , STRING_2 , new byte [ ] { 0 , 1 , 2 } , STRING_3 ) ; IDENT_8 . METHOD_3 ( ) . METHOD_4 ( STRING_4 ) ; IDENT_8 . METHOD_3 ( ) . METHOD_5 ( STRING_5 ) ; java . util . Map < java . lang . String , com . streamsets . pipeline . api . Field > map = new java . util . HashMap ( ) ; map . put ( "a" , com . streamsets . pipeline . api . Field . create ( IDENT_0 ) ) ; IDENT_8 . set ( com . streamsets . pipeline . api . Field . create ( map ) ) ; writer . write ( IDENT_8 ) ; java . io . InputStream is = new java . io . ByteArrayInputStream ( IDENT_1 . toByteArray ( ) ) ; com . streamsets . pipeline . api . ext . IDENT_9 reader = com . streamsets . IDENT_3 . record . io . IDENT_4 . METHOD_6 ( is , 0 , 1000 ) ; com . streamsets . pipeline . api . IDENT_10 record = reader . METHOD_7 ( ) ; java . math . BigDecimal IDENT_11 = record . get ( STRING_6 ) . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; } get ( java . util . List ) { java . util . List < com . streamsets . pipeline . api . Field > fields = new java . util . ArrayList ( elements . size ( ) ) ; if ( ( value ) != null ) { com . streamsets . pipeline . api . Field IDENT_12 = value ; for ( int i = 0 ; ( IDENT_12 != null ) && ( i < ( elements . size ( ) ) ) ; i ++ ) { com . streamsets . pipeline . api . Field next = null ; com . streamsets . IDENT_3 . record . IDENT_13 element = elements . get ( i ) ; switch ( element . getType ( ) ) { case IDENT_14 : fields . add ( IDENT_12 ) ; next = IDENT_12 ; break ; case IDENT_15 : if ( IDENT_12 . getType ( ) . METHOD_9 ( Field . Type . IDENT_15 , Field . Type . IDENT_16 ) ) { java . lang . String name = element . getName ( ) ; java . util . Map < java . lang . String , com . streamsets . pipeline . api . Field > map = IDENT_12 . METHOD_10 ( ) ; if ( map != null ) { com . streamsets . pipeline . api . Field field = map . get ( name ) ; if ( field != null ) { fields . add ( field ) ; next = field ; } } } break ; case IDENT_17 : if ( IDENT_12 . getType ( ) . METHOD_9 ( Field . Type . IDENT_17 , Field . Type . IDENT_16 ) ) { int index = element . METHOD_11 ( ) ; java . util . List < com . streamsets . pipeline . api . Field > list = IDENT_12 . METHOD_12 ( ) ; if ( list != null ) { if ( ( list . size ( ) ) > index ) { com . streamsets . pipeline . api . Field field = list . get ( index ) ; fields . add ( field ) ; next = field ; } } } break ; case IDENT_18 : default : break ; } IDENT_12 = next ; } } return fields ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_11 )