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