METHOD_0 ( ) { org . springframework . IDENT_0 . IDENT_1 . commons . protocol . IDENT_2 client = org . mockito . Mockito . mock ( org . springframework . IDENT_0 . IDENT_1 . commons . protocol . IDENT_2 . class ) ; when ( client . METHOD_1 ( any ( ) ) ) . thenReturn ( java . util . concurrent . IDENT_3 . METHOD_2 ( ( ) -> { try { return java . util . Arrays . asList ( STRING_0 , STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 ) ; } catch ( e ) { return null ; } } ) ) ; org . springframework . IDENT_0 . IDENT_1 . commons . IDENT_4 . IDENT_5 index = new org . springframework . IDENT_0 . IDENT_1 . commons . IDENT_4 . METHOD_3 ( client , java . net . URI . create ( java . lang . System . getProperty ( STRING_6 ) ) , org . springframework . IDENT_0 . IDENT_1 . commons . IDENT_6 . java . IDENT_7 . IDENT_8 ) ; java . util . List < IDENT_9 . util . function . IDENT_10 < java . lang . String , java . lang . Double > > results = index . METHOD_4 ( STRING_7 , true , false ) . METHOD_5 ( ( IDENT_11 , IDENT_12 ) -> IDENT_12 . METHOD_6 ( ) . compareTo ( IDENT_11 . METHOD_6 ( ) ) ) . block ( ) ; java . util . List < java . lang . String > IDENT_13 = results . stream ( ) . map ( ( t ) -> t . METHOD_7 ( ) ) . collect ( java . util . stream . IDENT_14 . toList ( ) ) ; "<AssertPlaceHolder>" ; } map ( com . google . common . base . IDENT_15 ) { com . google . common . collect . IDENT_16 < IDENT_17 > IDENT_18 = METHOD_8 ( ) . stream ( ) . map ( ( x ) -> mapper . apply ( x ) ) . filter ( ( x ) -> x != null ) . collect ( org . springframework . IDENT_0 . IDENT_1 . commons . util . IDENT_19 . METHOD_9 ( ) ) ; return new org . springframework . IDENT_0 . IDENT_1 . commons . util . IDENT_20 < IDENT_17 > ( IDENT_18 , IDENT_21 , IDENT_22 ) ; }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( STRING_2 , STRING_4 ) , IDENT_13 )