METHOD_0 ( ) { com . sun . jersey . api . client . IDENT_0 resource = resource ( ) ; com . IDENT_1 . web . mock . IDENT_2 user = METHOD_1 ( ) . METHOD_2 ( STRING_0 , STRING_1 ) ; user . METHOD_3 ( com . IDENT_1 . IDENT_3 . web . IDENT_4 . IDENT_5 , IDENT_6 . user ) ; java . lang . String IDENT_7 = METHOD_4 ( user ) ; com . IDENT_1 . IDENT_3 . control . IDENT_8 IDENT_9 = mock ( com . IDENT_1 . IDENT_3 . control . IDENT_8 . class ) ; com . IDENT_1 . IDENT_3 . model . IDENT_10 IDENT_11 = METHOD_5 ( IDENT_12 . getId ( ) , 3 ) ; IDENT_11 . METHOD_6 ( ) ; when ( IDENT_9 . METHOD_7 ( INT_0 ) ) . thenReturn ( IDENT_11 ) ; METHOD_1 ( ) . METHOD_8 ( ) . METHOD_9 ( IDENT_9 ) ; try { resource . path ( ( ( com . IDENT_1 . IDENT_3 . web . IDENT_4 . IDENT_13 ) + STRING_2 ) ) . header ( com . IDENT_1 . IDENT_3 . web . IDENT_14 , IDENT_7 ) . accept ( IDENT_15 . IDENT_16 ) . get ( com . IDENT_1 . IDENT_3 . web . IDENT_17 . class ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( com . sun . jersey . api . client . IDENT_18 ex ) { int IDENT_19 = ex . METHOD_10 ( ) . getStatus ( ) ; int IDENT_20 = Status . IDENT_21 . getStatusCode ( ) ; "<AssertPlaceHolder>" ; } } getStatus ( ) { return status ; }
org . junit . Assert . assertThat ( IDENT_19 , is ( IDENT_20 ) )