METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String provider = STRING_1 ; final java . lang . String IDENT_1 = STRING_2 ; when ( IDENT_2 . METHOD_1 ( any ( org . springframework . data . mongodb . core . query . Query . class ) , eq ( org . IDENT_3 . IDENT_4 . kafka . domain . IDENT_5 . class ) , eq ( STRING_3 ) ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_6 . getType ( ) ) . thenReturn ( IDENT_1 ) ; final java . lang . String result = IDENT_7 . METHOD_0 ( provider , IDENT_0 ) ; verify ( IDENT_2 ) . METHOD_1 ( any ( org . springframework . data . mongodb . core . query . Query . class ) , eq ( org . IDENT_3 . IDENT_4 . kafka . domain . IDENT_5 . class ) , eq ( STRING_3 ) ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String , java . lang . String ) { final java . lang . String IDENT_8 = ( provider + STRING_4 ) + IDENT_0 ; if ( ( IDENT_9 . get ( IDENT_8 ) ) == null ) { final org . springframework . data . mongodb . core . query . IDENT_10 IDENT_11 = org . springframework . data . mongodb . core . query . IDENT_10 . METHOD_2 ( STRING_5 ) . is ( IDENT_0 ) ; IDENT_11 . METHOD_3 ( org . springframework . data . mongodb . core . query . IDENT_10 . METHOD_2 ( STRING_6 ) . is ( provider ) ) ; final org . springframework . data . mongodb . core . query . Query query = new org . springframework . data . mongodb . core . query . Query ( IDENT_11 ) ; query . fields ( ) . METHOD_4 ( STRING_7 ) ; final org . IDENT_3 . IDENT_4 . IDENT_12 . domain . IDENT_5 f = IDENT_2 . METHOD_1 ( query , org . IDENT_3 . IDENT_4 . IDENT_12 . domain . IDENT_5 . class , STRING_3 ) ; if ( f != null ) { IDENT_9 . put ( IDENT_8 , f . getType ( ) ) ; } else { throw new org . IDENT_3 . IDENT_4 . common . exception . METHOD_5 ( ) ; } } return IDENT_9 . get ( IDENT_8 ) ; }
org . junit . Assert . assertEquals ( IDENT_1 , result )