METHOD_0 ( ) { fr . IDENT_0 . IDENT_1 . beans . IDENT_2 IDENT_3 = new fr . IDENT_0 . IDENT_1 . beans . METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( STRING_0 ) ; fr . IDENT_0 . IDENT_1 . beans . IDENT_4 IDENT_5 = new fr . IDENT_0 . IDENT_1 . beans . METHOD_3 ( ) ; IDENT_5 . METHOD_2 ( 1 ) ; IDENT_5 . METHOD_4 ( IDENT_6 . IDENT_7 ) ; IDENT_5 . METHOD_5 ( STRING_1 ) ; IDENT_5 . METHOD_6 ( IDENT_3 ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_7 ( STRING_1 , STRING_0 ) ) . thenReturn ( null ) ; org . mockito . Mockito . when ( IDENT_8 . update ( IDENT_5 ) ) . thenReturn ( IDENT_5 ) ; fr . IDENT_0 . IDENT_1 . beans . METHOD_3 actual = IDENT_9 . METHOD_8 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( fr . IDENT_0 . IDENT_1 . beans . METHOD_3 ) { fr . IDENT_0 . IDENT_1 . beans . METHOD_3 IDENT_10 = IDENT_8 . METHOD_7 ( IDENT_5 . METHOD_9 ( ) , IDENT_5 . METHOD_10 ( ) . METHOD_11 ( ) ) ; if ( ( IDENT_10 == null ) || ( IDENT_10 . equals ( IDENT_5 ) ) ) { org . springframework . security . core . IDENT_11 auth = org . springframework . security . core . context . IDENT_12 . METHOD_12 ( ) . METHOD_13 ( ) ; java . lang . String IDENT_13 = auth . getName ( ) ; fr . IDENT_0 . IDENT_1 . services . IDENT_14 . logger . info ( ( ( ( ( ( ( ( ( ( ( STRING_2 + IDENT_13 ) + STRING_3 ) + ( IDENT_5 . METHOD_9 ( ) ) ) + STRING_4 ) + ( IDENT_5 . METHOD_14 ( ) ) ) + STRING_5 ) + ( IDENT_5 . METHOD_10 ( ) . METHOD_11 ( ) ) ) + STRING_6 ) + ( IDENT_5 . METHOD_10 ( ) . METHOD_15 ( ) ) ) + STRING_7 ) ) ; return IDENT_8 . update ( IDENT_5 ) ; } else { throw new fr . IDENT_0 . IDENT_1 . exceptions . METHOD_16 ( ( ( ( STRING_8 + ( IDENT_5 . METHOD_9 ( ) ) ) + STRING_9 ) + ( IDENT_5 . METHOD_10 ( ) . METHOD_11 ( ) ) ) , STRING_10 ) ; } }
org . junit . Assert . assertEquals ( IDENT_5 , actual )