METHOD_0 ( ) { org . nhindirect . common . rest . IDENT_0 req = new org . nhindirect . common . rest . METHOD_1 ( null , STRING_0 , STRING_1 ) ; org . apache . http . IDENT_1 IDENT_2 = mock ( org . apache . http . IDENT_1 . class ) ; when ( IDENT_2 . getName ( ) ) . thenReturn ( STRING_2 ) ; when ( IDENT_2 . getValue ( ) ) . thenReturn ( STRING_3 ) ; org . apache . http . IDENT_3 entity = mock ( org . apache . http . IDENT_3 . class ) ; when ( entity . METHOD_2 ( ) ) . thenReturn ( IDENT_2 ) ; boolean IDENT_4 = false ; try { req . METHOD_3 ( STRING_4 , entity ) ; } catch ( org . nhindirect . common . rest . exceptions . IDENT_5 e ) { IDENT_4 = true ; } "<AssertPlaceHolder>" ; } getName ( ) { return name ; }
org . junit . Assert . assertTrue ( IDENT_4 )