METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 writer = mock ( org . apache . IDENT_0 . IDENT_1 . class ) ; when ( impl . METHOD_1 ( ) ) . thenReturn ( writer ) ; "<AssertPlaceHolder>" ; verify ( impl , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_1 ( ) { long position ; try { position = org . apache . IDENT_0 . util . Utils . METHOD_2 ( METHOD_3 ( true , false ) ) . METHOD_4 ( ) ; if ( ( ( IDENT_2 . IDENT_3 ) == position ) || ( ( IDENT_2 . IDENT_4 ) == position ) ) { position = 0 ; } } catch ( org . apache . IDENT_0 . exceptions . IDENT_5 ex ) { position = 0 ; } catch ( org . apache . IDENT_0 . exceptions . IDENT_6 ex ) { position = 0 ; } return new org . apache . IDENT_0 . METHOD_5 ( METHOD_6 ( ) , position ) ; }
org . junit . Assert . assertEquals ( writer , manager . METHOD_1 ( ) )