METHOD_0 ( ) { when ( this . IDENT_0 . execute ( ) ) . thenReturn ( java . util . Collections . singletonList ( org . IDENT_1 . entities . spi . IDENT_2 . IDENT_3 ) ) ; when ( this . IDENT_4 . METHOD_1 ( org . IDENT_1 . entities . spi . IDENT_2 . IDENT_5 ) ) . thenReturn ( this . doc ) ; when ( this . doc . METHOD_2 ( ) ) . thenReturn ( true ) ; org . IDENT_1 . entities . spi . Person result = this . manager . METHOD_3 ( org . IDENT_1 . entities . spi . IDENT_2 . IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { try { org . xwiki . query . Query q = this . IDENT_7 . METHOD_4 ( ( ( STRING_0 + ( this . IDENT_8 . serialize ( METHOD_5 ( ) ) ) ) + STRING_1 ) , Query . IDENT_9 ) . METHOD_6 ( STRING_2 , this . METHOD_7 ( ) . getName ( ) ) . METHOD_6 ( "name" , name ) ; java . util . List < java . lang . String > IDENT_10 = q . execute ( ) ; for ( java . lang . String IDENT_11 : IDENT_10 ) { return get ( IDENT_11 ) ; } } catch ( org . xwiki . query . IDENT_12 ex ) { this . logger . warn ( STRING_3 , name , ex . getMessage ( ) ) ; } return null ; }
org . junit . Assert . assertNull ( result )