METHOD_0 ( ) { METHOD_1 ( IDENT_0 , STRING_0 , STRING_1 ) ; final org . IDENT_1 . http . commons . api . IDENT_2 . IDENT_3 converter = new org . IDENT_1 . http . commons . api . IDENT_2 . METHOD_2 ( IDENT_4 , javax . ws . rs . core . IDENT_5 . METHOD_3 ( IDENT_6 ) ) ; when ( IDENT_7 . METHOD_4 ( ( "/" + ( path ) ) ) ) . thenReturn ( node ) ; when ( IDENT_7 . METHOD_5 ( ) ) . thenReturn ( IDENT_8 ) ; when ( node . METHOD_6 ( ) ) . thenReturn ( IDENT_7 ) ; final org . apache . jena . IDENT_2 . model . IDENT_9 resource = METHOD_7 ( ( STRING_2 + ( path ) ) ) ; final org . apache . jena . IDENT_2 . model . IDENT_9 IDENT_10 = converter . METHOD_8 ( ) . convert ( new org . IDENT_1 . kernel . IDENT_11 . METHOD_9 ( node ) ) ; "<AssertPlaceHolder>" ; } convert ( java . lang . String ) { final java . util . regex . IDENT_12 matcher = org . IDENT_1 . http . commons . domain . IDENT_13 . IDENT_14 . matcher ( source ) ; if ( ! ( matcher . matches ( ) ) ) { return new org . IDENT_1 . http . commons . domain . METHOD_10 ( ) ; } final java . lang . String from = matcher . group ( 1 ) ; final java . lang . String to = matcher . group ( 2 ) ; final long start ; if ( from . equals ( "" ) ) { start = 0 ; } else { start = java . lang . Long . METHOD_11 ( from ) ; } final long end ; if ( to . equals ( "" ) ) { end = - 1 ; } else { end = java . lang . Long . METHOD_11 ( to ) ; } return new org . IDENT_1 . http . commons . domain . METHOD_10 ( start , end ) ; }
org . junit . Assert . assertEquals ( resource , IDENT_10 )