METHOD_0 ( ) { final byte [ ] IDENT_0 = STRING_0 . getBytes ( ) ; org . camunda . bpm . engine . IDENT_1 . IDENT_2 IDENT_3 = org . camunda . bpm . engine . rest . helper . IDENT_4 . METHOD_1 ( ) . METHOD_2 ( org . camunda . bpm . engine . IDENT_5 . IDENT_6 . METHOD_3 ( IDENT_0 ) ) . build ( ) ; when ( IDENT_7 . METHOD_4 ( IDENT_3 . getId ( ) ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_5 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_6 ( ) ) . thenReturn ( IDENT_3 ) ; io . IDENT_8 . response . Response response = io . IDENT_8 . IDENT_9 . METHOD_7 ( ) . METHOD_8 ( STRING_1 , IDENT_4 . IDENT_10 ) . METHOD_9 ( ) . expect ( ) . METHOD_10 ( Status . IDENT_11 . getStatusCode ( ) ) . METHOD_11 ( IDENT_12 . IDENT_13 . toString ( ) ) . when ( ) . get ( org . camunda . bpm . engine . rest . IDENT_1 . IDENT_14 . IDENT_15 ) ; byte [ ] IDENT_16 = response . METHOD_12 ( ) . METHOD_13 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_7 , METHOD_14 ( ) ) . METHOD_15 ( ) ; } get ( java . lang . String ) { org . camunda . bpm . engine . rest . IDENT_17 . cache . IDENT_18 IDENT_19 = cache . get ( id ) ; if ( IDENT_19 != null ) { if ( METHOD_16 ( IDENT_19 ) ) { remove ( IDENT_19 . getId ( ) ) ; return null ; } else { return IDENT_19 . getResource ( ) ; } } else { return null ; } }
org . junit . Assert . assertEquals ( new java . lang . String ( IDENT_0 ) , new java . lang . String ( IDENT_16 ) )