METHOD_0 ( ) { com . IDENT_0 . core . model . IDENT_1 IDENT_2 = METHOD_1 ( IDENT_3 . IDENT_4 ) ; IDENT_2 . METHOD_2 ( IDENT_5 ) ; IDENT_2 . METHOD_3 ( IDENT_6 ) ; IDENT_2 . setId ( null ) ; IDENT_7 . METHOD_4 ( IDENT_2 ) ; net . sf . json . JSONObject IDENT_8 = com . IDENT_0 . test . service . TestUtils . METHOD_5 ( ) ; javax . ws . rs . core . Response response = IDENT_9 . METHOD_6 ( IDENT_8 ) ; if ( ( response . getStatus ( ) ) != INT_0 ) { com . IDENT_0 . rest . resource . IDENT_10 e = ( ( com . IDENT_0 . rest . resource . IDENT_10 ) ( response . METHOD_7 ( ) ) ) ; org . junit . Assert . fail ( ( ( ( STRING_0 + ( response . getStatus ( ) ) ) + STRING_1 ) + ( e . METHOD_8 ( ) ) ) ) ; } java . lang . Thread . sleep ( TimeUnit . IDENT_11 . METHOD_9 ( 10 ) ) ; com . IDENT_0 . core . model . IDENT_12 IDENT_13 = new java . util . ArrayList ( IDENT_2 . METHOD_10 ( ) ) . get ( 0 ) . METHOD_11 ( ) ; IDENT_14 = new com . IDENT_0 . test . service . METHOD_12 ( IDENT_13 ) ; java . lang . String IDENT_15 = STRING_2 + ( IDENT_2 . METHOD_13 ( ) . getId ( ) ) ; java . lang . String IDENT_16 = ( STRING_3 + ( IDENT_2 . getId ( ) ) ) + "/" ; org . IDENT_17 . IDENT_18 . domain . IDENT_19 payload = IDENT_14 . METHOD_14 ( IDENT_15 , IDENT_16 ) ; net . sf . json . JSONObject IDENT_20 = net . sf . json . JSONObject . METHOD_15 ( org . apache . commons . io . IDENT_21 . toString ( payload . METHOD_16 ( ) . METHOD_17 ( ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_16 ( ) { return payload ; }
org . junit . Assert . assertEquals ( IDENT_8 , IDENT_20 )