METHOD_0 ( ) { org . apache . http . client . IDENT_0 client = mock ( org . apache . http . client . IDENT_0 . class ) ; org . nhindirect . common . rest . IDENT_1 IDENT_2 = new org . nhindirect . common . rest . METHOD_1 ( STRING_0 , client ) ; org . nhindirect . common . rest . IDENT_3 < java . lang . Object , java . lang . Exception > req = mock ( org . nhindirect . common . rest . IDENT_3 . class ) ; METHOD_2 ( new java . io . IOException ( STRING_1 ) ) . when ( req ) . call ( ) ; boolean IDENT_4 = false ; try { IDENT_2 . METHOD_3 ( req ) ; } catch ( org . nhindirect . common . rest . exceptions . IDENT_5 e ) { IDENT_4 = true ; } "<AssertPlaceHolder>" ; }
org . junit . Assert . assertTrue ( IDENT_4 )