METHOD_0 ( ) { org . springframework . data . IDENT_0 . core . IDENT_1 . IDENT_2 source = new org . springframework . data . IDENT_0 . core . IDENT_1 . METHOD_1 ( ) ; source . id = STRING_0 ; operations . insert ( source ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . Object , java . lang . Class ) { org . springframework . util . Assert . METHOD_3 ( id , STRING_1 ) ; org . springframework . util . Assert . METHOD_3 ( type , STRING_2 ) ; java . lang . String IDENT_3 = METHOD_4 ( type ) ; METHOD_5 ( org . springframework . data . IDENT_0 . core . event . IDENT_4 . METHOD_6 ( id , IDENT_3 , type ) ) ; T result = execute ( ( adapter ) -> { java . lang . Object value = adapter . get ( id , IDENT_3 , type ) ; if ( ( value == null ) || ( METHOD_7 ( type , value ) ) ) { return type . METHOD_8 ( value ) ; } return null ; } ) ; METHOD_5 ( org . springframework . data . IDENT_0 . core . event . IDENT_4 . METHOD_9 ( id , IDENT_3 , type , result ) ) ; return java . util . Optional . METHOD_10 ( result ) ; }
org . junit . Assert . assertThat ( operations . METHOD_2 ( STRING_0 , org . springframework . data . IDENT_0 . core . IDENT_1 . METHOD_1 . class ) , is ( java . util . Optional . of ( source ) ) )