METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 , org . IDENT_3 . IDENT_3 . IDENT_4 . IDENT_5 . services . IDENT_6 . model . IDENT_7 . class , IDENT_8 , this . IDENT_9 , IDENT_10 . getName ( ) , this . IDENT_11 ) ) . thenReturn ( this . METHOD_2 ( IDENT_1 . IDENT_2 ) ) ; org . IDENT_3 . IDENT_3 . IDENT_4 . IDENT_5 . services . IDENT_6 . model . IDENT_12 IDENT_13 = IDENT_10 . METHOD_3 ( ) ; java . lang . String name = STRING_0 ; com . IDENT_14 . IDENT_4 . IDENT_5 . common . entity . model . IDENT_15 . IDENT_16 IDENT_15 = ( ( com . IDENT_14 . IDENT_4 . IDENT_5 . common . entity . model . IDENT_15 . IDENT_16 ) ( IDENT_13 . METHOD_4 ( STRING_1 ) ) ) ; IDENT_15 . METHOD_5 ( name ) ; this . IDENT_10 . METHOD_6 ( name , IDENT_13 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_17 , org . mockito . Mockito . times ( 1 ) ) . METHOD_7 ( IDENT_13 ) ; org . mockito . Mockito . verify ( IDENT_18 , org . mockito . Mockito . times ( 1 ) ) . METHOD_8 ( org . mockito . Mockito . any ( org . IDENT_3 . IDENT_3 . IDENT_4 . IDENT_5 . services . IDENT_6 . event . IDENT_19 . class ) ) ; } getId ( ) { return IDENT_20 ; }
org . junit . Assert . assertThat ( IDENT_13 . getId ( ) , org . hamcrest . CoreMatchers . is ( name ) )