METHOD_0 ( ) { when ( this . IDENT_0 . resolve ( org . IDENT_1 . entities . internal . IDENT_2 . IDENT_3 ) ) . thenReturn ( null ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( org . apache . commons . lang3 . StringUtils . METHOD_2 ( IDENT_4 ) ) { return null ; } final org . xwiki . model . reference . IDENT_5 IDENT_6 = this . IDENT_7 . resolve ( IDENT_4 ) ; if ( IDENT_6 == null ) { return null ; } final java . lang . String IDENT_8 = IDENT_6 . getName ( ) . replaceAll ( STRING_0 , STRING_1 ) ; if ( ( org . apache . commons . lang3 . StringUtils . METHOD_2 ( IDENT_8 ) ) || ( IDENT_8 . equals ( IDENT_4 ) ) ) { return null ; } final java . util . List < org . IDENT_1 . entities . IDENT_9 > IDENT_10 = METHOD_3 ( ) ; return IDENT_10 . isEmpty ( ) ? null : METHOD_4 ( IDENT_10 , IDENT_8 , IDENT_4 ) ; }
org . junit . Assert . assertNull ( this . component . METHOD_1 ( org . IDENT_1 . entities . internal . IDENT_2 . IDENT_3 ) )