METHOD_0 ( ) { IDENT_0 = org . easymock . EasyMock . METHOD_1 ( com . alibaba . dubbo . IDENT_1 . IDENT_2 . class ) ; org . easymock . EasyMock . expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( com . alibaba . dubbo . IDENT_1 . protocol . dubbo . support . IDENT_3 . class ) . METHOD_3 ( ) ; org . easymock . EasyMock . expect ( IDENT_0 . METHOD_4 ( ) ) . andReturn ( com . alibaba . dubbo . common . URL . valueOf ( STRING_0 ) ) . METHOD_3 ( ) ; org . easymock . EasyMock . expect ( IDENT_0 . invoke ( ( ( com . alibaba . dubbo . IDENT_1 . IDENT_4 ) ( org . easymock . EasyMock . METHOD_5 ( ) ) ) ) ) . andReturn ( new com . alibaba . dubbo . IDENT_1 . METHOD_6 ( STRING_1 ) ) . METHOD_3 ( ) ; IDENT_5 = org . easymock . EasyMock . METHOD_1 ( com . alibaba . dubbo . IDENT_6 . IDENT_7 . class ) ; org . easymock . EasyMock . expect ( IDENT_5 . METHOD_7 ( STRING_2 ) ) . andReturn ( null ) . METHOD_3 ( ) ; org . easymock . EasyMock . expect ( IDENT_5 . METHOD_8 ( ) ) . andReturn ( com . alibaba . dubbo . common . utils . IDENT_8 . METHOD_9 ( STRING_3 ) ) . METHOD_3 ( ) ; org . easymock . EasyMock . expect ( IDENT_5 . METHOD_10 ( ) ) . andReturn ( com . alibaba . dubbo . common . utils . IDENT_8 . METHOD_9 ( STRING_4 ) ) . METHOD_3 ( ) ; org . easymock . EasyMock . replay ( IDENT_5 , IDENT_0 ) ; com . alibaba . dubbo . IDENT_1 . protocol . dubbo . IDENT_9 . METHOD_11 ( ) . METHOD_12 ( IDENT_0 ) ; java . lang . String result = com . alibaba . dubbo . IDENT_1 . protocol . dubbo . IDENT_10 . IDENT_11 . invoke . METHOD_13 ( IDENT_5 , STRING_5 ) ; "<AssertPlaceHolder>" ; org . easymock . EasyMock . METHOD_14 ( IDENT_5 , IDENT_0 ) ; } contains ( java . lang . Object ) { if ( value == null ) { throw new java . lang . METHOD_15 ( ) ; } com . alibaba . dubbo . registry . common . util . IDENT_12 . Entry [ ] IDENT_13 = table ; for ( int i = IDENT_13 . length ; ( i OP_0 ) > 0 ; ) { for ( com . alibaba . dubbo . registry . common . util . IDENT_12 . Entry e = IDENT_13 [ i ] ; e != null ; e = e . next ) { if ( e . value . equals ( value ) ) { return true ; } } } return false ; }
org . junit . Assert . assertTrue ( result . contains ( STRING_1 ) )