METHOD_0 ( ) { io . cdap . cdap . api . data . schema . Schema schema = METHOD_1 ( ) ; io . cdap . cdap . api . data . format . IDENT_0 record = io . cdap . cdap . api . data . format . IDENT_0 . builder ( schema ) . set ( STRING_0 6 , true ) . set ( STRING_0 5 , 10 ) . set ( STRING_1 , ( 1L + ( Integer . MAX_VALUE ) ) ) . set ( STRING_2 , FLOAT_0 ) . set ( STRING_3 , FLOAT_1 ) . set ( STRING_0 3 , STRING_4 ) . set ( STRING_0 4 , STRING_0 . getBytes ( IDENT_1 . UTF_8 ) ) . set ( STRING_5 , "a" ) . set ( STRING_0 2 , new int [ ] { 1 , 2 , 3 } ) . set ( STRING_6 , com . google . common . collect . ImmutableMap . of ( STRING_0 0 , 1 , STRING_0 1 , 2 , STRING_7 , 3 ) ) . set ( STRING_8 , null ) . build ( ) ; com . IDENT_2 . IDENT_3 . IDENT_4 IDENT_3 = new com . IDENT_2 . IDENT_3 . METHOD_2 ( ) ; IDENT_3 . METHOD_3 ( io . cdap . cdap . api . data . schema . Schema . class , io . cdap . cdap . app . runtime . spark . serializer . IDENT_5 . class ) ; IDENT_3 . METHOD_3 ( io . cdap . cdap . api . data . format . IDENT_0 . class , io . cdap . cdap . app . runtime . spark . serializer . IDENT_6 . class ) ; java . io . ByteArrayOutputStream IDENT_7 = new java . io . ByteArrayOutputStream ( ) ; try ( com . IDENT_2 . IDENT_3 . io . IDENT_8 output = new com . IDENT_2 . IDENT_3 . io . METHOD_4 ( IDENT_7 ) ) { IDENT_3 . METHOD_5 ( output , record ) ; } com . IDENT_2 . IDENT_3 . io . IDENT_9 input = new com . IDENT_2 . IDENT_3 . io . METHOD_6 ( IDENT_7 . toByteArray ( ) ) ; io . cdap . cdap . api . data . format . IDENT_0 IDENT_10 = IDENT_3 . METHOD_7 ( input , io . cdap . cdap . api . data . format . IDENT_0 . class ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( io . cdap . cdap . api . data . format . IDENT_0 ) { java . io . StringWriter IDENT_11 = new java . io . StringWriter ( ) ; try ( com . google . gson . stream . IDENT_12 writer = new com . google . gson . stream . METHOD_9 ( IDENT_11 ) ) { io . cdap . cdap . format . IDENT_13 . IDENT_14 . encode ( record , new io . cdap . cdap . format . io . METHOD_10 ( writer ) ) ; return IDENT_11 . toString ( ) ; } }
org . junit . Assert . assertEquals ( io . cdap . cdap . format . IDENT_13 . METHOD_8 ( record ) , io . cdap . cdap . format . IDENT_13 . METHOD_8 ( IDENT_10 ) )