METHOD_0 ( ) { java . lang . Integer [ ] expected = new com . IDENT_0 . stream . IDENT_1 . Integer [ ] { 1 , 2 , 3 , 5 , - 1 } ; java . util . List < java . lang . Integer > input = new java . util . ArrayList < java . lang . Integer > ( ) ; input . addAll ( java . util . Arrays . asList ( 1 , 1 , 2 , 3 , 5 ) ) ; com . IDENT_0 . stream . IDENT_2 stream = com . IDENT_0 . stream . IDENT_3 . of ( input ) . METHOD_1 ( com . IDENT_0 . stream . IDENT_4 . METHOD_2 ( ) ) . METHOD_3 ( ) ; input . addAll ( java . util . Arrays . asList ( 3 , 2 , 1 , 1 , ( - 1 ) ) ) ; java . util . List < java . lang . Integer > actual = stream . METHOD_4 ( ) . toList ( ) ; "<AssertPlaceHolder>" ; } toList ( ) { final java . util . List < T > result = new java . util . ArrayList < T > ( ) ; while ( iterator . hasNext ( ) ) { result . add ( iterator . next ( ) ) ; } return result ; }
org . junit . Assert . assertThat ( actual , org . hamcrest . Matchers . contains ( expected ) )