METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 . metadata . IDENT_3 . IDENT_4 IDENT_5 = mock ( org . IDENT_0 . IDENT_1 . IDENT_2 . metadata . IDENT_3 . IDENT_4 . class ) ; org . IDENT_0 . IDENT_1 . metadata . version . IDENT_6 IDENT_7 = new org . IDENT_0 . IDENT_1 . metadata . version . METHOD_1 ( ) ; IDENT_7 . METHOD_2 ( IDENT_8 . IDENT_9 ) ; IDENT_7 . setName ( STRING_0 ) ; IDENT_7 . METHOD_3 ( new java . util . Date ( ) ) ; IDENT_7 . METHOD_4 ( STRING_1 ) ; when ( IDENT_10 . METHOD_5 ( ) ) . thenReturn ( IDENT_7 ) ; org . IDENT_0 . IDENT_1 . metadata . version . METHOD_1 IDENT_11 = IDENT_12 . METHOD_6 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . IDENT_0 . IDENT_1 . IDENT_2 . metadata . IDENT_3 . IDENT_4 ) { org . IDENT_0 . IDENT_1 . IDENT_2 . metadata . sync . IDENT_13 . log . debug ( STRING_2 ) ; org . IDENT_0 . IDENT_1 . metadata . version . METHOD_1 IDENT_14 = null ; try { IDENT_14 = IDENT_10 . METHOD_5 ( ) ; org . IDENT_0 . IDENT_1 . IDENT_2 . metadata . sync . IDENT_13 . log . info ( ( STRING_3 + IDENT_14 ) ) ; } catch ( org . IDENT_0 . IDENT_1 . IDENT_2 . metadata . version . exception . IDENT_15 ex ) { context . METHOD_7 ( IDENT_16 . IDENT_17 , ex . getMessage ( ) , null , null ) ; throw new org . IDENT_0 . IDENT_1 . IDENT_2 . metadata . sync . exception . METHOD_8 ( ex . getMessage ( ) , ex ) ; } return IDENT_14 ; }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_11 )