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 ) ; java . net . 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 ) { java . net . IDENT_4 proxy = java . net . IDENT_4 . IDENT_6 ; try { java . lang . String IDENT_7 = ( ! ( com . IDENT_0 . utils . StringUtils . isEmpty ( IDENT_8 ) ) ) ? IDENT_8 : IDENT_9 ; if ( com . IDENT_0 . utils . StringUtils . isEmpty ( IDENT_7 ) ) { return proxy ; } java . net . URL IDENT_10 = new java . net . URL ( IDENT_7 ) ; java . lang . String IDENT_11 = IDENT_10 . METHOD_2 ( ) ; if ( IDENT_11 != null ) { byte [ ] bytes = IDENT_11 . getBytes ( STRING_1 ) ; java . lang . String auth = javax . xml . IDENT_12 . IDENT_13 . METHOD_3 ( bytes ) ; request . METHOD_4 ( STRING_2 , ( STRING_3 + auth ) ) ; } java . lang . String IDENT_14 = IDENT_10 . METHOD_5 ( ) ; int port = IDENT_10 . METHOD_6 ( ) ; if ( port == ( - 1 ) ) { port = IDENT_10 . METHOD_7 ( ) ; } java . net . IDENT_15 IDENT_16 = new java . net . METHOD_8 ( IDENT_14 , port ) ; proxy = new java . net . METHOD_9 ( METHOD_9 . Type . IDENT_17 , IDENT_16 ) ; } catch ( java . io . IOException e ) { throw new com . IDENT_0 . exceptions . METHOD_10 ( STRING_4 , STRING_5 ) ; } return proxy ; }
org . junit . Assert . assertNotNull ( proxy )