METHOD_0 ( ) { com . IDENT_0 . http . IDENT_1 request = mock ( com . IDENT_0 . http . IDENT_1 . class ) ; IDENT_2 . expect ( com . IDENT_0 . exceptions . IDENT_3 . class ) ; org . apache . http . IDENT_4 proxy = com . IDENT_0 . http . IDENT_5 . METHOD_1 ( STRING_0 , null , request ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String , com . IDENT_0 . http . IDENT_1 ) { try { java . lang . String IDENT_6 = ( ! ( com . IDENT_0 . utils . StringUtils . isEmpty ( IDENT_7 ) ) ) ? IDENT_7 : IDENT_8 ; if ( com . IDENT_0 . utils . StringUtils . isEmpty ( IDENT_6 ) ) { return null ; } java . net . URL IDENT_9 = new java . net . URL ( IDENT_6 ) ; java . lang . String IDENT_10 = IDENT_9 . METHOD_2 ( ) ; if ( IDENT_10 != null ) { byte [ ] bytes = IDENT_10 . getBytes ( STRING_1 ) ; java . lang . String auth = javax . xml . IDENT_11 . IDENT_12 . METHOD_3 ( bytes ) ; request . METHOD_4 ( STRING_2 , ( STRING_3 + auth ) ) ; } return new org . apache . http . METHOD_5 ( IDENT_9 . METHOD_6 ( ) , IDENT_9 . METHOD_7 ( ) , IDENT_9 . METHOD_8 ( ) ) ; } catch ( java . io . IOException e ) { throw new com . IDENT_0 . exceptions . METHOD_9 ( STRING_4 , STRING_5 ) ; } }
org . junit . Assert . assertNotNull ( proxy )