METHOD_0 ( ) { org . IDENT_0 . data . IDENT_1 . IDENT_2 IDENT_1 = this . IDENT_3 . getInstance ( org . IDENT_0 . data . IDENT_1 . IDENT_2 . class ) ; org . IDENT_0 . data . IDENT_1 . IDENT_4 IDENT_5 = mock ( org . IDENT_0 . data . IDENT_1 . IDENT_4 . class ) ; when ( IDENT_1 . METHOD_1 ( this . IDENT_6 ) ) . thenReturn ( IDENT_5 ) ; org . IDENT_0 . data . IDENT_1 . IDENT_7 IDENT_8 = mock ( org . IDENT_0 . data . IDENT_1 . IDENT_7 . class ) ; when ( IDENT_5 . METHOD_2 ( ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_8 . METHOD_3 ( ) ) . thenReturn ( false ) ; when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( org . IDENT_0 . data . IDENT_1 . internal . IDENT_9 . IDENT_10 ) ; org . xwiki . IDENT_11 . IDENT_12 IDENT_11 = this . IDENT_3 . getInstance ( org . xwiki . IDENT_11 . IDENT_12 . class ) ; when ( IDENT_11 . METHOD_4 ( org . IDENT_0 . data . IDENT_1 . internal . IDENT_9 . IDENT_13 ) ) . thenReturn ( null ) ; java . util . List < org . IDENT_0 . data . IDENT_14 > result = this . IDENT_3 . METHOD_5 ( ) . METHOD_6 ( this . IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . IDENT_0 . data . IDENT_15 ) { org . xwiki . model . reference . IDENT_16 IDENT_17 = IDENT_6 . METHOD_7 ( ) ; if ( IDENT_17 == null ) { return java . util . Collections . emptyList ( ) ; } java . util . List < org . IDENT_0 . data . IDENT_14 > list = new java . util . ArrayList ( ) ; org . IDENT_0 . data . IDENT_14 . Builder IDENT_18 = new org . IDENT_0 . data . IDENT_14 . Builder ( ) ; IDENT_18 . METHOD_8 ( this . serializer . serialize ( IDENT_17 ) ) ; org . xwiki . IDENT_11 . User user = this . IDENT_19 . METHOD_4 ( IDENT_17 . toString ( ) ) ; if ( user != null ) { java . lang . String IDENT_20 = ( ( java . lang . String ) ( user . METHOD_9 ( STRING_0 ) ) ) ; java . lang . String IDENT_21 = ( ( java . lang . String ) ( user . METHOD_9 ( STRING_1 ) ) ) ; IDENT_18 . METHOD_10 ( user . getName ( ) ) ; IDENT_18 . METHOD_11 ( IDENT_20 ) ; IDENT_18 . METHOD_12 ( IDENT_21 ) ; IDENT_18 . METHOD_13 ( ( ( user . METHOD_14 ( ) ) != null ? user . METHOD_14 ( ) . toString ( ) : null ) ) ; } list . add ( IDENT_18 . build ( ) ) ; return list ; }
org . junit . Assert . assertNull ( result )