METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . apache . IDENT_0 . IDENT_1 . class ) ; org . apache . IDENT_0 . IDENT_3 record = mock ( org . apache . IDENT_0 . IDENT_3 . class ) ; when ( IDENT_4 . write ( any ( org . apache . IDENT_0 . IDENT_3 . class ) ) ) . thenReturn ( java . util . concurrent . IDENT_5 . METHOD_1 ( IDENT_2 ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 , times ( 1 ) ) . write ( eq ( record ) ) ; } result ( com . IDENT_6 . util . IDENT_7 ) { return org . apache . IDENT_0 . util . IDENT_8 . result ( result , com . IDENT_6 . util . IDENT_9 . METHOD_2 ( ) ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , org . apache . IDENT_0 . util . IDENT_8 . result ( writer . write ( record ) ) )