METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . kie . server . api . IDENT_1 . METHOD_1 ( IDENT_0 ) ; org . kie . server . services . impl . IDENT_2 IDENT_3 = new org . kie . server . services . impl . METHOD_2 ( org . kie . server . remote . rest . common . util . IDENT_4 . IDENT_5 , org . kie . server . api . model . IDENT_6 . IDENT_7 ) ; when ( registry . METHOD_3 ( org . kie . server . remote . rest . common . util . IDENT_4 . IDENT_5 ) ) . thenReturn ( IDENT_3 ) ; org . kie . server . remote . rest . common . IDENT_8 IDENT_9 = org . kie . server . remote . rest . common . util . IDENT_10 . METHOD_4 ( org . kie . server . remote . rest . common . util . IDENT_4 . IDENT_5 , registry , headers ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , org . kie . server . services . api . IDENT_11 , javax . ws . rs . core . IDENT_12 ) { java . util . List < java . lang . String > IDENT_9 = headers . METHOD_5 ( IDENT_13 . IDENT_14 ) ; if ( ( IDENT_9 != null ) && ( ! ( IDENT_9 . isEmpty ( ) ) ) ) { return new org . kie . server . remote . rest . common . METHOD_6 ( org . kie . server . api . IDENT_13 . IDENT_14 , IDENT_9 . get ( 0 ) ) ; } org . kie . server . services . impl . METHOD_2 container = registry . METHOD_3 ( IDENT_15 ) ; if ( ( container != null ) && ( IDENT_6 . IDENT_16 . equals ( container . getStatus ( ) ) ) ) { org . kie . server . api . model . IDENT_17 IDENT_18 = container . getResource ( ) . METHOD_7 ( ) ; if ( IDENT_18 == null ) { IDENT_18 = container . getResource ( ) . METHOD_8 ( ) ; } java . lang . String IDENT_19 = org . kie . server . api . IDENT_20 . from ( org . kie . server . api . IDENT_1 . METHOD_9 ( ) , IDENT_15 , IDENT_18 ) . toString ( ) ; return new org . kie . server . remote . rest . common . METHOD_6 ( org . kie . server . api . IDENT_13 . IDENT_14 , IDENT_19 ) ; } return null ; }
org . junit . Assert . assertNull ( IDENT_9 )