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