METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = METHOD_1 ( ) ; org . apache . IDENT_0 . channel . IDENT_4 IDENT_5 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . channel . IDENT_4 . class ) ; org . apache . IDENT_0 . source . IDENT_6 . source . METHOD_2 ( IDENT_5 ) ; org . apache . IDENT_0 . client . avro . IDENT_7 reader = org . mockito . Mockito . mock ( org . apache . IDENT_0 . client . avro . IDENT_7 . class ) ; java . util . List < org . apache . IDENT_0 . IDENT_8 > events = new java . util . ArrayList ( ) ; events . add ( org . mockito . Mockito . mock ( org . apache . IDENT_0 . IDENT_8 . class ) ) ; org . mockito . Mockito . doReturn ( events ) . METHOD_3 ( new java . io . IOException ( STRING_0 ) ) . when ( reader ) . METHOD_4 ( org . mockito . Mockito . METHOD_5 ( ) ) ; java . lang . IDENT_9 runner = org . apache . IDENT_0 . source . IDENT_6 . source . new org . apache . IDENT_0 . source . METHOD_6 ( reader , IDENT_3 ) ; try { runner . run ( ) ; } catch ( java . lang . Exception ex ) { } "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return get ( org . apache . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_10 ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_3 . METHOD_7 ( ) )