METHOD_0 ( ) { final org . apache . jena . IDENT_0 . model . IDENT_1 resource = METHOD_1 ( STRING_0 ) ; when ( session . METHOD_2 ( STRING_1 ) ) . thenReturn ( node ) ; final org . IDENT_2 . kernel . api . models . IDENT_3 IDENT_4 = converter . convert ( resource ) ; final javax . jcr . Node IDENT_5 = METHOD_3 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } convert ( java . lang . String ) { final java . util . regex . IDENT_6 matcher = org . IDENT_2 . http . commons . domain . IDENT_7 . IDENT_8 . matcher ( source ) ; if ( ! ( matcher . matches ( ) ) ) { return new org . IDENT_2 . 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_2 . http . commons . domain . METHOD_4 ( start , end ) ; }
org . junit . Assert . assertEquals ( node , IDENT_5 )