METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = IDENT_3 . IDENT_4 . valueOf ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . repository . cassandra . IDENT_6 . IDENT_7 IDENT_8 = com . IDENT_0 . IDENT_1 . IDENT_2 . com . IDENT_0 . IDENT_1 . repository . cassandra . IDENT_6 . IDENT_7 . builder ( ) . id ( IDENT_9 ) . METHOD_1 ( STRING_1 ) . build ( ) ; java . util . List < com . IDENT_0 . IDENT_1 . repository . cassandra . IDENT_6 . index . IDENT_10 > IDENT_11 = new java . util . ArrayList ( ) ; when ( IDENT_12 . METHOD_2 ( eq ( com . IDENT_0 . IDENT_1 . repository . cassandra . impl . IDENT_13 . IDENT_14 . toString ( ) ) , eq ( IDENT_5 . toString ( ) ) ) ) . thenReturn ( IDENT_15 ) ; when ( IDENT_15 . iterator ( ) ) . thenReturn ( IDENT_11 . iterator ( ) ) ; when ( IDENT_16 . METHOD_2 ( eq ( IDENT_9 ) ) ) . thenReturn ( IDENT_15 ) ; when ( IDENT_15 . METHOD_3 ( ) ) . thenReturn ( IDENT_8 ) ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_17 > result = repository . METHOD_4 ( com . IDENT_0 . IDENT_1 . repository . cassandra . impl . IDENT_13 . IDENT_14 , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_18 , com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_19 ) { java . util . stream . IDENT_20 < com . IDENT_0 . IDENT_1 . repository . cassandra . IDENT_6 . index . IDENT_10 > IDENT_21 = java . util . stream . IDENT_20 . empty ( ) ; try { com . IDENT_22 . driver . mapping . Result < com . IDENT_0 . IDENT_1 . repository . cassandra . IDENT_6 . index . IDENT_10 > result = IDENT_12 . METHOD_2 ( IDENT_23 . toString ( ) , IDENT_5 . toString ( ) ) ; IDENT_21 = java . util . stream . IDENT_24 . stream ( java . util . IDENT_25 . METHOD_5 ( result . iterator ( ) , IDENT_26 . IDENT_27 ) , false ) ; } catch ( com . IDENT_22 . driver . core . exceptions . IDENT_28 | com . IDENT_22 . driver . core . exceptions . IDENT_29 | com . IDENT_22 . driver . core . exceptions . IDENT_30 e ) { throw new com . IDENT_0 . IDENT_1 . repository . METHOD_6 ( new java . lang . StringBuilder ( STRING_2 ) . append ( IDENT_23 ) . append ( STRING_3 ) . append ( IDENT_5 ) . append ( STRING_4 ) . toString ( ) , e ) ; } return IDENT_21 . map ( ( t ) -> { Optional < com . IDENT_0 . IDENT_1 . repository . cassandra . IDENT_6 . IDENT_7 > IDENT_8 = java . util . Optional . METHOD_7 ( IDENT_16 . METHOD_2 ( t . METHOD_8 ( ) ) . METHOD_3 ( ) ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_17 . Builder builder = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_17 . Builder ( IDENT_7 . IDENT_31 . valueOf ( t . METHOD_8 ( ) ) , null , t . METHOD_9 ( ) ) ; if ( IDENT_8 . METHOD_10 ( ) ) { builder . METHOD_11 ( IDENT_7 . IDENT_32 . valueOf ( IDENT_8 . get ( ) . METHOD_12 ( ) ) ) ; } return builder . build ( ) ; } ) . filter ( ( t ) -> ( t . METHOD_12 ( ) ) != null ) . collect ( java . util . stream . IDENT_33 . toList ( ) ) ; }
org . junit . Assert . assertThat ( result . size ( ) , org . hamcrest . CoreMatchers . is ( 0 ) )