METHOD_0 ( ) { java . util . List < java . lang . String > result = java . util . stream . IDENT_0 . of ( STRING_0 , "1" , STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 , STRING_6 ) . METHOD_1 ( METHOD_2 ( ) ) . collect ( java . util . stream . IDENT_1 . toList ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return ( IDENT_2 , IDENT_3 ) -> { if ( ( org . apache . commons . lang3 . math . IDENT_4 . METHOD_3 ( IDENT_2 ) ) && ( org . apache . commons . lang3 . math . IDENT_4 . METHOD_3 ( IDENT_3 ) ) ) { return uk . gov . IDENT_5 . IDENT_6 . utils . IDENT_7 . METHOD_4 ( ) . compare ( IDENT_2 , IDENT_3 ) ; } else if ( org . apache . commons . lang3 . math . IDENT_4 . METHOD_3 ( IDENT_2 ) ) { return - 1 ; } else if ( org . apache . commons . lang3 . math . IDENT_4 . METHOD_3 ( IDENT_3 ) ) { return 1 ; } else { return IDENT_2 . compareTo ( IDENT_3 ) ; } } ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( java . util . Arrays . asList ( "1" , STRING_3 , STRING_6 , STRING_1 , STRING_5 , STRING_0 , STRING_4 , STRING_2 ) ) )