METHOD_0 ( ) { org . camunda . bpm . engine . rest . IDENT_0 resource = org . camunda . bpm . engine . rest . helper . IDENT_1 . METHOD_1 ( ) ; org . camunda . bpm . engine . rest . List < org . camunda . bpm . engine . rest . IDENT_0 > resources = new org . camunda . bpm . engine . rest . ArrayList < org . camunda . bpm . engine . rest . IDENT_0 > ( ) ; resources . add ( resource ) ; when ( IDENT_2 . METHOD_2 ( eq ( org . camunda . bpm . engine . rest . IDENT_3 ) ) ) . thenReturn ( resources ) ; when ( IDENT_2 . METHOD_3 ( eq ( org . camunda . bpm . engine . rest . IDENT_3 ) , eq ( org . camunda . bpm . engine . rest . IDENT_4 ) ) ) . thenReturn ( METHOD_4 ( ) ) ; io . IDENT_5 . response . Response response = io . IDENT_5 . IDENT_6 . METHOD_5 ( ) . METHOD_6 ( STRING_0 , org . camunda . bpm . engine . rest . IDENT_3 ) . METHOD_6 ( STRING_1 , org . camunda . bpm . engine . rest . IDENT_4 ) . METHOD_7 ( ) . expect ( ) . METHOD_8 ( Status . IDENT_7 . getStatusCode ( ) ) . METHOD_9 ( IDENT_8 . IDENT_9 ) . header ( STRING_2 , ( STRING_3 + ( org . camunda . bpm . engine . rest . helper . IDENT_1 . IDENT_10 ) ) ) . when ( ) . get ( org . camunda . bpm . engine . rest . IDENT_11 . IDENT_12 ) ; java . lang . String IDENT_13 = response . METHOD_10 ( ) ; "<AssertPlaceHolder>" ; } get ( java . lang . String ) { org . camunda . bpm . engine . rest . IDENT_14 . cache . IDENT_15 IDENT_16 = cache . get ( id ) ; if ( IDENT_16 != null ) { if ( METHOD_11 ( IDENT_16 ) ) { remove ( IDENT_16 . getId ( ) ) ; return null ; } else { return IDENT_16 . getResource ( ) ; } } else { return null ; } }
org . junit . Assert . assertNotNull ( IDENT_13 )