METHOD_0 ( ) { handler . METHOD_1 ( false , STRING_0 , STRING_1 , INT_0 ) . METHOD_2 ( STRING_2 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . Entity IDENT_4 = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . Entity ( STRING_3 , INT_1 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . Entity IDENT_5 = IDENT_6 . METHOD_3 ( IDENT_4 , java . util . Collections . METHOD_4 ( STRING_4 ) , true , false , true ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . Entity , java . util . Set , boolean , boolean , boolean ) { if ( ( STRING_5 . equals ( entity . getType ( ) ) ) && ( IDENT_7 . METHOD_5 ( ) . METHOD_6 ( ) ) ) { return METHOD_7 ( entity , IDENT_8 , IDENT_9 ) ; } java . lang . String xml = com . IDENT_0 . IDENT_1 . IDENT_2 . rest . client . IDENT_10 . METHOD_8 ( ) . METHOD_9 ( new org . IDENT_11 . Document ( entity . METHOD_10 ( IDENT_12 ) ) ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . rest . IDENT_13 result = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . rest . METHOD_11 ( ) ; if ( ( IDENT_7 . put ( xml , result , STRING_6 , entity . getType ( ) , entity . getId ( ) ) ) != ( org . apache . commons . IDENT_14 . IDENT_15 . IDENT_16 ) ) { if ( ! IDENT_8 ) { IDENT_17 . METHOD_12 ( new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . rest . METHOD_13 ( result ) ) ; } if ( IDENT_18 ) { try { return METHOD_14 ( new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . entity . METHOD_15 ( entity ) ) ; } catch ( java . lang . Exception e ) { } } return null ; } else { if ( IDENT_9 ) { return METHOD_16 ( result . METHOD_17 ( ) , IDENT_19 . IDENT_20 . IDENT_21 ) ; } else { return parse ( result . METHOD_17 ( ) , true ) . get ( 0 ) ; } } }
org . junit . Assert . assertNull ( IDENT_5 )