METHOD_0 ( ) { METHOD_1 ( ) ; com . IDENT_0 . xwiki . doc . IDENT_1 document = mock ( com . IDENT_0 . xwiki . doc . IDENT_1 . class ) ; when ( document . METHOD_2 ( ) ) . thenReturn ( false ) ; org . xwiki . model . reference . IDENT_2 reference = new org . xwiki . model . reference . METHOD_3 ( STRING_0 , STRING_1 , STRING_2 ) ; when ( document . METHOD_4 ( ) ) . thenReturn ( reference ) ; when ( document . METHOD_5 ( new org . xwiki . model . reference . METHOD_3 ( STRING_0 , STRING_1 , STRING_3 ) ) ) . thenReturn ( null ) ; when ( this . xwiki . METHOD_6 ( reference , this . IDENT_3 ) ) . thenReturn ( document ) ; java . util . Iterator < org . xwiki . model . reference . METHOD_3 > iterator = new com . IDENT_0 . xwiki . internal . plugin . IDENT_4 . METHOD_7 ( reference , null , this . IDENT_5 ) ; "<AssertPlaceHolder>" ; } hasNext ( ) { return this . IDENT_6 . hasNext ( ) ; }
org . junit . Assert . assertFalse ( iterator . hasNext ( ) )