METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; when ( IDENT_1 . getId ( ) ) . thenReturn ( IDENT_0 ) ; java . net . URL url = IDENT_2 . METHOD_1 ( org . codice . ddf . rest . impl . action . IDENT_3 . IDENT_4 , IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { java . lang . String IDENT_5 = java . net . IDENT_6 . encode ( IDENT_0 , IDENT_7 . UTF_8 ) ; java . lang . String IDENT_8 = java . lang . String . format ( STRING_1 , org . codice . ddf . catalog . IDENT_9 . action . IDENT_10 . IDENT_11 , org . codice . ddf . catalog . IDENT_9 . action . IDENT_12 . IDENT_13 , IDENT_5 ) ; return new java . net . URL ( IDENT_14 . IDENT_15 . METHOD_3 ( IDENT_8 , true ) ) ; }
org . junit . Assert . assertThat ( url , org . hamcrest . Matchers . is ( METHOD_2 ( IDENT_0 ) ) )