METHOD_0 ( ) { final org . IDENT_0 . kernel . api . models . IDENT_1 IDENT_2 = new org . IDENT_0 . kernel . IDENT_3 . METHOD_1 ( IDENT_4 ) ; when ( IDENT_4 . getPath ( ) ) . thenReturn ( ( ( path ) + STRING_0 ) ) ; when ( node . METHOD_2 ( org . IDENT_0 . http . commons . api . IDENT_5 . IDENT_6 ) ) . thenReturn ( true ) ; final org . apache . jena . IDENT_5 . model . IDENT_7 IDENT_8 = converter . METHOD_3 ( ) . convert ( IDENT_2 ) ; final org . apache . jena . IDENT_5 . model . IDENT_7 IDENT_9 = METHOD_4 ( ( ( STRING_1 + ( path ) ) + STRING_2 ) ) ; "<AssertPlaceHolder>" ; } convert ( java . lang . String ) { final java . util . regex . IDENT_10 matcher = org . IDENT_0 . http . commons . domain . IDENT_11 . IDENT_12 . matcher ( source ) ; if ( ! ( matcher . matches ( ) ) ) { return new org . IDENT_0 . http . commons . domain . METHOD_5 ( ) ; } 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_6 ( from ) ; } final long end ; if ( to . equals ( "" ) ) { end = - 1 ; } else { end = java . lang . Long . METHOD_6 ( to ) ; } return new org . IDENT_0 . http . commons . domain . METHOD_5 ( start , end ) ; }
org . junit . Assert . assertEquals ( IDENT_9 , IDENT_8 )