METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . sql . IDENT_1 metadata = mock ( java . sql . IDENT_1 . class ) ; when ( metadata . METHOD_1 ( ) ) . thenReturn ( 1 ) ; when ( metadata . METHOD_2 ( 1 ) ) . thenReturn ( IDENT_2 . IDENT_3 ) ; when ( metadata . METHOD_3 ( 1 ) ) . thenReturn ( false ) ; when ( metadata . METHOD_4 ( 1 ) ) . thenReturn ( 1 ) ; when ( metadata . METHOD_5 ( 1 ) ) . thenReturn ( IDENT_0 ) ; when ( metadata . METHOD_6 ( 1 ) ) . thenReturn ( STRING_1 ) ; final java . sql . ResultSet rs = org . apache . nifi . util . db . IDENT_4 . METHOD_7 ( metadata ) ; final java . lang . Long ret = 0L ; when ( rs . METHOD_8 ( org . mockito . Mockito . METHOD_9 ( ) ) ) . thenReturn ( ret ) ; final java . io . InputStream IDENT_5 = org . apache . nifi . util . db . IDENT_4 . METHOD_10 ( rs ) ; final org . apache . avro . io . IDENT_6 < org . apache . avro . IDENT_7 . IDENT_8 > IDENT_9 = new org . apache . avro . IDENT_7 . METHOD_11 ( ) ; try ( final org . apache . avro . file . IDENT_10 < org . apache . avro . IDENT_7 . IDENT_8 > IDENT_11 = new org . apache . avro . file . METHOD_12 ( IDENT_5 , IDENT_9 ) ) { org . apache . avro . IDENT_7 . IDENT_8 record = null ; while ( IDENT_11 . hasNext ( ) ) { record = IDENT_11 . next ( record ) ; "<AssertPlaceHolder>" ; } } } toString ( java . nio . IDENT_12 . IDENT_13 ) { return new java . lang . String ( bytes , IDENT_12 ) ; }
org . junit . Assert . assertEquals ( java . lang . Long . toString ( ret ) , record . get ( IDENT_0 ) . toString ( ) )