METHOD_0 ( ) { int size = 100 ; byte [ ] IDENT_0 = new byte [ size ] ; random . METHOD_1 ( IDENT_0 ) ; doReturn ( buffer ) . when ( IDENT_1 ) . METHOD_2 ( ) ; METHOD_3 ( new java . nio . METHOD_4 ( ) ) . doReturn ( IDENT_2 ) . when ( buffer ) . store ( IDENT_0 ) ; com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 IDENT_8 = IDENT_1 . store ( IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 , times ( 2 ) ) . METHOD_2 ( ) ; verify ( buffer , times ( 2 ) ) . store ( IDENT_0 ) ; } store ( byte [ ] ) { while ( true ) { try { return METHOD_2 ( ) . store ( payload ) ; } catch ( java . nio . METHOD_4 exception ) { try { return METHOD_2 ( ) . store ( payload ) ; } catch ( java . nio . METHOD_4 IDENT_9 ) { METHOD_5 ( ) ; return store ( payload ) ; } } } }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_8 )