METHOD_0 ( ) { when ( IDENT_0 . hasNext ( ) ) . thenReturn ( true ) ; when ( IDENT_0 . next ( ) ) . thenReturn ( java . util . Collections . singletonList ( 1 ) ) ; boolean IDENT_1 = IDENT_2 . METHOD_1 ( System . out :: println ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . function . IDENT_3 ) { if ( action == null ) { throw new java . lang . METHOD_2 ( STRING_0 ) ; } if ( elements . hasNext ( ) ) { action . accept ( elements . next ( ) ) ; return true ; } else if ( IDENT_0 . hasNext ( ) ) { elements = IDENT_0 . next ( ) . iterator ( ) ; action . accept ( elements . next ( ) ) ; return true ; } return false ; }
org . junit . Assert . assertTrue ( IDENT_1 )