METHOD_0 ( ) { org . IDENT_0 . entity . IDENT_1 IDENT_2 = mock ( org . IDENT_0 . entity . IDENT_1 . class ) ; fr . IDENT_3 . IDENT_4 . data . IDENT_5 . persistence . IDENT_6 handler = METHOD_1 ( ) ; fr . IDENT_3 . IDENT_4 . data . IDENT_5 . IDENT_7 IDENT_5 = mock ( fr . IDENT_3 . IDENT_4 . data . IDENT_5 . IDENT_7 . class ) ; METHOD_2 ( handler . METHOD_3 ( IDENT_2 ) ) . METHOD_4 ( IDENT_5 ) ; fr . IDENT_3 . IDENT_4 . data . IDENT_5 . IDENT_7 result = IDENT_8 . METHOD_3 ( IDENT_2 ) ; IDENT_8 . METHOD_5 ( IDENT_2 , mock ( fr . IDENT_3 . IDENT_4 . data . IDENT_5 . IDENT_7 . class ) ) ; IDENT_8 . METHOD_6 ( mock ( org . IDENT_0 . entity . IDENT_1 . class ) ) ; "<AssertPlaceHolder>" ; verify ( handler ) . METHOD_3 ( IDENT_2 ) ; verify ( handler ) . METHOD_5 ( eq ( IDENT_2 ) , METHOD_7 ( fr . IDENT_3 . IDENT_4 . data . IDENT_5 . persistence . IDENT_9 . METHOD_8 ( IDENT_5 ) ) ) ; verify ( handler ) . METHOD_6 ( METHOD_7 ( fr . IDENT_3 . IDENT_4 . data . IDENT_5 . persistence . IDENT_9 . METHOD_8 ( IDENT_2 ) ) ) ; } METHOD_6 ( org . IDENT_0 . entity . IDENT_1 ) { }
org . junit . Assert . assertThat ( result , org . hamcrest . Matchers . equalTo ( IDENT_5 ) )