METHOD_0 ( ) { final java . util . Collection < eu . IDENT_0 . concurrent . IDENT_1 < java . lang . Object > > IDENT_2 = mock ( java . util . Collection . class ) ; doReturn ( true ) . when ( IDENT_2 ) . isEmpty ( ) ; doReturn ( future ) . when ( IDENT_3 ) . METHOD_1 ( ) ; doReturn ( future ) . when ( IDENT_3 ) . METHOD_2 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 ) . isEmpty ( ) ; verify ( IDENT_3 ) . METHOD_1 ( ) ; verify ( IDENT_3 , METHOD_3 ( ) ) . METHOD_2 ( IDENT_2 ) ; } METHOD_4 ( java . util . Collection ) { if ( IDENT_4 . isEmpty ( ) ) { return METHOD_1 ( ) ; } return METHOD_2 ( IDENT_4 ) ; }
org . junit . Assert . assertEquals ( future , IDENT_3 . METHOD_4 ( IDENT_2 ) )