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