METHOD_0 ( ) { java . util . List < java . lang . String > results = java . util . Arrays . asList ( STRING_0 , STRING_1 , STRING_2 ) ; org . springframework . data . IDENT_0 . function . IDENT_1 . IDENT_2 IDENT_3 = new org . springframework . data . IDENT_0 . function . IDENT_1 . METHOD_1 ( ) { @ org . springframework . data . IDENT_0 . function . IDENT_1 . Override MOD_0 org . apache . IDENT_4 . cache . execute . IDENT_5 METHOD_2 ( ) { return IDENT_6 ; } @ org . springframework . data . IDENT_0 . function . IDENT_1 . METHOD_3 ( STRING_3 ) @ org . springframework . data . IDENT_0 . function . IDENT_1 . Override < T > java . lang . IDENT_7 < T > execute ( ) { return ( ( java . lang . IDENT_7 < T > ) ( results ) ) ; } } ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { java . lang . IDENT_7 < T > results = execute ( ) ; if ( ( results == null ) || ( ! ( results . iterator ( ) . hasNext ( ) ) ) ) { return null ; } java . lang . Object result = results . iterator ( ) . next ( ) ; if ( result instanceof java . lang . Throwable ) { throw new org . apache . IDENT_4 . cache . execute . METHOD_5 ( java . lang . String . format ( STRING_4 , ( ( this . function ) != null ? this . function . getClass ( ) . getName ( ) : java . lang . String . format ( STRING_5 , this . IDENT_8 ) ) ) , ( ( java . lang . Throwable ) ( result ) ) ) ; } return ( ( T ) ( result ) ) ; }
org . junit . Assert . assertThat ( IDENT_3 . METHOD_4 ( ) , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( STRING_0 ) ) )