METHOD_0 ( ) { org . xwiki . IDENT_0 . IDENT_1 . IDENT_2 job = mock ( org . xwiki . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; when ( IDENT_3 . METHOD_1 ( METHOD_2 ( ) ) ) . thenReturn ( job ) ; org . xwiki . job . event . status . IDENT_4 status = mock ( org . xwiki . job . event . status . IDENT_4 . class ) ; when ( job . getStatus ( ) ) . thenReturn ( status ) ; java . util . List < java . lang . String > IDENT_5 = new java . util . ArrayList < java . lang . String > ( ) ; org . xwiki . job . event . status . IDENT_4 result = IDENT_6 . METHOD_3 ( ) . METHOD_0 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . util . List ) { try { org . xwiki . IDENT_0 . IDENT_1 . IDENT_2 IDENT_7 = IDENT_3 . METHOD_1 ( IDENT_5 ) ; if ( IDENT_7 == null ) { return null ; } return IDENT_7 . getStatus ( ) ; } catch ( org . xwiki . IDENT_0 . template . IDENT_8 e ) { error ( STRING_0 , e ) ; return null ; } }
org . junit . Assert . assertEquals ( status , result )