METHOD_0 ( ) { org . IDENT_0 . model . IDENT_1 IDENT_2 = org . IDENT_0 . test . IDENT_3 . METHOD_1 ( STRING_0 ) ; org . IDENT_0 . model . IDENT_4 IDENT_5 = org . IDENT_0 . test . IDENT_3 . METHOD_2 ( STRING_1 ) ; org . IDENT_0 . model . IDENT_6 IDENT_7 = mock ( org . IDENT_0 . model . IDENT_6 . class ) ; when ( IDENT_8 . METHOD_3 ( eq ( IDENT_2 . getKey ( ) ) , eq ( IDENT_5 . getId ( ) ) ) ) . thenReturn ( IDENT_5 ) ; doReturn ( IDENT_7 ) . when ( IDENT_9 ) . METHOD_4 ( eq ( IDENT_5 ) ) ; org . IDENT_0 . service . model . IDENT_10 result = IDENT_11 . METHOD_5 ( IDENT_2 . getKey ( ) , IDENT_5 . getId ( ) ) ; verify ( IDENT_9 , METHOD_6 ( ) ) . create ( eq ( IDENT_7 ) ) ; "<AssertPlaceHolder>" ; } create ( org . IDENT_0 . model . IDENT_12 ) { org . IDENT_0 . model . IDENT_12 IDENT_13 = METHOD_7 ( ) ; if ( ( IDENT_13 != null ) && ( ! ( org . IDENT_0 . common . util . IDENT_14 . METHOD_8 ( IDENT_13 . METHOD_9 ( ) , IDENT_15 . METHOD_9 ( ) ) ) ) ) { org . IDENT_0 . model . IDENT_16 . log . debug ( STRING_2 ) ; return IDENT_13 ; } org . IDENT_0 . model . IDENT_16 . log . debug ( STRING_3 , IDENT_15 ) ; return super . create ( IDENT_15 ) ; }
org . junit . Assert . assertEquals ( IDENT_7 , result )