METHOD_0 ( ) { java . lang . Long IDENT_0 = 1L ; java . lang . Long IDENT_1 = INT_0 ; METHOD_1 ( IDENT_2 . get ( IDENT_3 . IDENT_4 , IDENT_3 . IDENT_5 ) ) . METHOD_2 ( IDENT_6 ) ; com . IDENT_7 . model . api . search . IDENT_8 IDENT_9 = mock ( com . IDENT_7 . model . api . search . IDENT_8 . class ) ; METHOD_1 ( IDENT_6 . find ( STRING_0 ) ) . METHOD_2 ( IDENT_9 ) ; METHOD_1 ( IDENT_9 . METHOD_3 ( org . mockito . Mockito . METHOD_4 ( ) ) ) . METHOD_2 ( IDENT_9 ) ; METHOD_1 ( IDENT_9 . METHOD_5 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . eq ( IDENT_0 ) ) ) . METHOD_2 ( IDENT_9 ) ; METHOD_1 ( IDENT_9 . METHOD_6 ( ) ) . METHOD_2 ( entity ) ; METHOD_1 ( entity . METHOD_7 ( STRING_1 ) ) . METHOD_2 ( IDENT_1 ) ; final java . lang . Long IDENT_10 = IDENT_11 . METHOD_8 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( java . lang . Long ) { com . IDENT_7 . model . api . IDENT_12 IDENT_13 = METHOD_9 ( ) ; java . lang . String query = STRING_0 ; com . IDENT_7 . model . api . Entity IDENT_14 = IDENT_13 . find ( query ) . METHOD_5 ( STRING_2 , IDENT_15 ) . METHOD_3 ( 1 ) . METHOD_6 ( ) ; if ( IDENT_14 == null ) { return null ; } return ( ( java . lang . Long ) ( IDENT_14 . METHOD_7 ( STRING_1 ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_10 )