METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . repository . IDENT_2 IDENT_3 = mock ( com . IDENT_0 . IDENT_1 . repository . IDENT_2 . class ) ; when ( IDENT_4 . METHOD_1 ( repository ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( STRING_1 ) ; com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 IDENT_9 = mock ( com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . class ) ; when ( IDENT_10 . METHOD_4 ( repository , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_12 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_13 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_14 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_15 , STRING_0 , STRING_1 , STRING_0 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_16 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_17 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_18 ) ) . thenReturn ( IDENT_9 ) ; when ( IDENT_9 . METHOD_5 ( ) ) . thenReturn ( true ) ; java . util . Map < java . lang . String , java . lang . Object > result = resource . test ( repository , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_12 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_14 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_15 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_13 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_16 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_17 , com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_11 . IDENT_18 ) ; "<AssertPlaceHolder>" ; } test ( com . IDENT_0 . IDENT_1 . repository . IDENT_19 , java . lang . String , java . lang . String , java . lang . String , boolean , boolean , boolean , boolean ) { if ( ( ( IDENT_20 == null ) || ( IDENT_21 == null ) ) || ( ( IDENT_21 . equals ( STRING_2 ) ) && ( IDENT_22 == null ) ) ) { java . util . Map < java . lang . String , java . lang . Object > map = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; map . put ( STRING_3 , false ) ; map . put ( STRING_4 , STRING_5 ) ; return map ; } IDENT_23 . METHOD_6 ( repository , IDENT_24 . IDENT_25 ) ; com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_26 . log . debug ( STRING_6 , repository . METHOD_7 ( ) . getKey ( ) , repository . METHOD_8 ( ) ) ; com . IDENT_0 . IDENT_1 . repository . IDENT_2 IDENT_3 = IDENT_4 . METHOD_1 ( repository ) ; com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 result = IDENT_10 . METHOD_4 ( repository , IDENT_20 , IDENT_27 , IDENT_21 , IDENT_22 , IDENT_3 . METHOD_2 ( ) , IDENT_3 . METHOD_3 ( ) , IDENT_3 . METHOD_2 ( ) , IDENT_28 , IDENT_29 , IDENT_30 ) ; com . IDENT_5 . IDENT_6 . IDENT_7 . rest . IDENT_26 . log . debug ( STRING_7 , result ) ; java . util . Map < java . lang . String , java . lang . Object > map = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; map . put ( STRING_3 , result . METHOD_5 ( ) ) ; map . put ( STRING_8 , result . METHOD_9 ( ) ) ; map . put ( STRING_4 , result . getMessage ( ) ) ; return map ; }
org . junit . Assert . assertTrue ( ( ( java . lang . Boolean ) ( result . get ( STRING_3 ) ) ) )