METHOD_0 ( ) { com . IDENT_0 . xwiki . IDENT_1 . IDENT_2 IDENT_3 = mock ( com . IDENT_0 . xwiki . IDENT_1 . IDENT_2 . class ) ; com . IDENT_0 . xwiki . doc . IDENT_4 IDENT_5 = mock ( com . IDENT_0 . xwiki . doc . IDENT_4 . class ) ; org . xwiki . model . reference . IDENT_6 IDENT_7 = mock ( org . xwiki . model . reference . IDENT_6 . class ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_5 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; when ( this . IDENT_8 . METHOD_3 ( any ( ) , any ( ) , any ( ) ) ) . thenReturn ( true ) ; java . util . List < org . xwiki . component . IDENT_9 . IDENT_10 > result = this . IDENT_11 . METHOD_4 ( ) . METHOD_5 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } size ( ) { return IDENT_12 . size ( ) ; }
org . junit . Assert . assertEquals ( 1 , result . size ( ) )