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 ) ; java . io . InputStream input = new java . io . ByteArrayInputStream ( METHOD_2 ( ) ) ; when ( IDENT_2 . METHOD_3 ( eq ( org . camunda . bpm . engine . rest . IDENT_3 ) ) ) . thenReturn ( resources ) ; when ( IDENT_2 . METHOD_4 ( eq ( org . camunda . bpm . engine . rest . IDENT_3 ) , eq ( org . camunda . bpm . engine . rest . IDENT_4 ) ) ) . thenReturn ( input ) ; 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 ( STRING_2 ) . header ( STRING_3 , ( STRING_4 + ( org . camunda . bpm . engine . rest . helper . IDENT_1 . IDENT_8 ) ) ) . when ( ) . get ( org . camunda . bpm . engine . rest . IDENT_9 . IDENT_10 ) ; java . lang . String IDENT_11 = response . METHOD_10 ( ) ; "<AssertPlaceHolder>" ; } get ( java . lang . String ) { org . camunda . bpm . engine . rest . IDENT_12 . cache . IDENT_13 IDENT_14 = cache . get ( id ) ; if ( IDENT_14 != null ) { if ( METHOD_11 ( IDENT_14 ) ) { remove ( IDENT_14 . getId ( ) ) ; return null ; } else { return IDENT_14 . getResource ( ) ; } } else { return null ; } }
org . junit . Assert . assertNotNull ( IDENT_11 )