METHOD_0 ( ) { java . util . Collection < java . net . URI > result = IDENT_0 . stream ( ) . map ( METHOD_1 ( URI :: create ) ) . collect ( METHOD_2 ( me . IDENT_1 . IDENT_2 . IllegalArgumentException . class ) ) . collect ( toList ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( me . IDENT_1 . IDENT_2 . Class [ ] ) { if ( ( IDENT_3 . length ) == 0 ) throw new java . lang . IllegalArgumentException ( STRING_0 ) ; return java . util . stream . IDENT_4 . of ( ArrayList :: new , ( IDENT_5 , element ) -> { try { IDENT_5 . add ( element . get ( ) ) ; } catch ( e ) { if ( ! ( asList ( IDENT_3 ) . contains ( me . IDENT_1 . IDENT_2 . e . getClass ( ) ) ) ) throw me . IDENT_1 . IDENT_2 . e ; } } , ( IDENT_6 , IDENT_7 ) -> { IDENT_6 . addAll ( IDENT_7 ) ; return IDENT_6 ; } , ( result ) -> result . stream ( ) ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . Matchers . contains ( java . net . URI . create ( IDENT_0 . get ( 0 ) ) , java . net . URI . create ( IDENT_0 . get ( 1 ) ) , java . net . URI . create ( IDENT_0 . get ( 3 ) ) ) )