stream ( ) { net . time4j . IDENT_0 start = net . time4j . IDENT_1 . of ( INT_0 , 5 , 1 , INT_1 , 0 ) . METHOD_0 ( ) ; net . time4j . IDENT_0 end = net . time4j . IDENT_1 . of ( INT_0 , 5 , 2 , 1 , INT_2 ) . METHOD_0 ( ) ; net . time4j . range . IDENT_2 IDENT_3 = net . time4j . range . IDENT_2 . METHOD_1 ( start , end ) ; net . time4j . IDENT_4 < ? > IDENT_5 = net . time4j . IDENT_4 . METHOD_2 ( INT_3 , 0 ) ; java . util . List < net . time4j . IDENT_0 > expected = new java . util . ArrayList ( ) ; expected . add ( start ) ; expected . add ( net . time4j . IDENT_1 . of ( INT_0 , 5 , 2 , 0 , 0 , 1 ) . METHOD_0 ( ) ) ; expected . add ( net . time4j . IDENT_1 . of ( INT_0 , 5 , 2 , 1 , 0 , 2 ) . METHOD_0 ( ) ) ; java . util . List < net . time4j . IDENT_0 > result = IDENT_3 . stream ( IDENT_5 ) . collect ( java . util . stream . IDENT_6 . toList ( ) ) ; "<AssertPlaceHolder>" ; } stream ( net . time4j . IDENT_7 ) { if ( ( this . isEmpty ( ) ) && ( IDENT_5 . METHOD_3 ( ) ) ) { return java . util . stream . IDENT_8 . empty ( ) ; } net . time4j . range . IDENT_9 IDENT_3 = this . METHOD_4 ( ) ; net . time4j . IDENT_10 start = IDENT_3 . METHOD_5 ( ) ; net . time4j . IDENT_10 end = IDENT_3 . METHOD_6 ( ) ; if ( ( start == null ) || ( end == null ) ) { throw new java . lang . IllegalStateException ( STRING_0 ) ; } return net . time4j . range . IDENT_9 . stream ( IDENT_5 , start , end ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( expected ) )