METHOD_0 ( ) { final java . util . List < org . apache . nifi . serialization . record . IDENT_0 > fields = new java . util . ArrayList ( ) ; for ( final org . apache . nifi . serialization . record . IDENT_1 IDENT_2 : org . apache . nifi . serialization . record . IDENT_1 . values ( ) ) { if ( IDENT_2 == ( org . apache . nifi . serialization . record . IDENT_1 . IDENT_3 ) ) { final java . util . List < org . apache . nifi . serialization . record . IDENT_4 > IDENT_5 = new java . util . ArrayList ( ) ; IDENT_5 . add ( IDENT_1 . IDENT_6 . METHOD_1 ( ) ) ; IDENT_5 . add ( IDENT_1 . IDENT_7 . METHOD_1 ( ) ) ; fields . add ( new org . apache . nifi . serialization . record . METHOD_2 ( IDENT_2 . name ( ) . toLowerCase ( ) , IDENT_2 . METHOD_3 ( IDENT_5 ) ) ) ; } else if ( IDENT_2 == ( org . apache . nifi . serialization . record . IDENT_1 . IDENT_8 ) ) { fields . add ( new org . apache . nifi . serialization . record . METHOD_2 ( IDENT_2 . name ( ) . toLowerCase ( ) , IDENT_2 . METHOD_4 ( IDENT_1 . IDENT_6 . METHOD_1 ( ) ) ) ) ; } else { fields . add ( new org . apache . nifi . serialization . record . METHOD_2 ( IDENT_2 . name ( ) . toLowerCase ( ) , IDENT_2 . METHOD_1 ( ) ) ) ; } } final org . apache . nifi . serialization . record . IDENT_9 schema = new org . apache . nifi . serialization . METHOD_5 ( fields ) ; final java . io . ByteArrayOutputStream IDENT_10 = new java . io . ByteArrayOutputStream ( ) ; final java . text . IDENT_11 IDENT_12 = new java . text . METHOD_6 ( STRING_0 ) ; IDENT_12 . METHOD_7 ( java . util . IDENT_13 . METHOD_8 ( STRING_1 9 ) ) ; final long time = IDENT_12 . parse ( STRING_2 ) . getTime ( ) ; final java . util . Map < java . lang . String , java . lang . Object > map = new java . util . METHOD_9 ( ) ; map . put ( STRING_3 1 , INT_0 ) ; map . put ( STRING_1 4 , INT_1 ) ; final java . util . Map < java . lang . String , java . lang . Object > IDENT_14 = new java . util . METHOD_9 ( ) ; IDENT_14 . put ( STRING_4 , STRING_4 ) ; IDENT_14 . put ( STRING_5 , true ) ; IDENT_14 . put ( STRING_3 , ( ( byte ) ( 1 ) ) ) ; IDENT_14 . put ( STRING_1 0 , STRING_6 ) ; IDENT_14 . put ( STRING_1 6 , ( ( short ) ( 8 ) ) ) ; IDENT_14 . put ( STRING_3 2 , 9 ) ; IDENT_14 . put ( STRING_1 5 , java . math . BigInteger . valueOf ( INT_2 ) ) ; IDENT_14 . put ( STRING_1 , INT_2 ) ; IDENT_14 . put ( STRING_3 0 , FLOAT_0 ) ; IDENT_14 . put ( STRING_7 , FLOAT_1 ) ; IDENT_14 . put ( STRING_1 8 , new java . sql . Date ( time ) ) ; IDENT_14 . put ( STRING_8 , new java . sql . METHOD_10 ( time ) ) ; IDENT_14 . put ( STRING_1 7 , new java . sql . METHOD_11 ( time ) ) ; IDENT_14 . put ( STRING_1 1 , null ) ; IDENT_14 . put ( STRING_9 , null ) ; IDENT_14 . put ( STRING_10 , INT_3 ) ; IDENT_14 . put ( STRING_1 3 , map ) ; final org . apache . nifi . serialization . record . IDENT_15 record = new org . apache . nifi . serialization . record . METHOD_12 ( schema , IDENT_14 ) ; final org . apache . nifi . serialization . record . IDENT_16 rs = org . apache . nifi . serialization . record . IDENT_16 . of ( schema , record ) ; try ( final org . apache . nifi . json . IDENT_17 writer = new org . apache . nifi . json . METHOD_13 ( org . mockito . Mockito . mock ( org . apache . nifi . logging . IDENT_18 . class ) , schema , new org . apache . nifi . schema . IDENT_19 . METHOD_14 ( ) , IDENT_10 , true , org . apache . nifi . record . IDENT_20 . IDENT_21 , IDENT_22 . IDENT_23 , IDENT_1 . IDENT_24 . METHOD_15 ( ) , IDENT_1 . IDENT_25 . METHOD_15 ( ) , IDENT_1 . IDENT_26 . METHOD_15 ( ) ) ) { writer . write ( rs ) ; } final java . lang . String output = IDENT_10 . toString ( ) ; final java . lang . String expected = new java . lang . String ( java . nio . file . IDENT_27 . METHOD_16 ( java . nio . file . IDENT_28 . get ( STRING_1 2 ) ) ) ; "<AssertPlaceHolder>" ; } get ( java . net . URI ) { return get ( uri , null ) ; }
org . junit . Assert . assertEquals ( expected , output )