METHOD_0 ( ) { doReturn ( com . IDENT_0 . IDENT_1 . manager . service . IDENT_2 . IDENT_3 ) . when ( com . IDENT_0 . IDENT_1 . manager . service . IDENT_2 . IDENT_4 ) . get ( METHOD_1 ( ) ) ; final com . IDENT_0 . IDENT_1 . manager . domain . IDENT_5 result = com . IDENT_0 . IDENT_1 . manager . service . IDENT_2 . IDENT_6 . METHOD_2 ( com . IDENT_0 . IDENT_1 . manager . service . IDENT_2 . IDENT_7 , com . IDENT_0 . IDENT_1 . manager . service . IDENT_2 . IDENT_3 . METHOD_3 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , int ) { final com . IDENT_0 . IDENT_1 . manager . domain . IDENT_5 IDENT_3 = IDENT_4 . get ( id ) ; if ( ( ( null == IDENT_3 ) || ( ! ( IDENT_3 . METHOD_4 ( ) . equalsIgnoreCase ( IDENT_7 ) ) ) ) || ( IDENT_3 . METHOD_5 ( ) ) ) { throw new com . IDENT_0 . IDENT_1 . manager . exception . METHOD_6 ( java . lang . String . format ( STRING_0 , IDENT_7 , id ) ) ; } return IDENT_3 ; }
org . junit . Assert . assertEquals ( result , com . IDENT_0 . IDENT_1 . manager . service . IDENT_2 . IDENT_3 )