METHOD_0 ( ) { org . xwiki . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_0 , STRING_1 ) ; org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 IDENT_4 = new org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_2 , STRING_3 ) ; java . util . Collection < org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_5 = new java . util . ArrayList < org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 > ( ) ; IDENT_5 . add ( IDENT_3 ) ; IDENT_5 . add ( IDENT_4 ) ; when ( IDENT_6 . METHOD_0 ( ) ) . thenReturn ( IDENT_5 ) ; java . util . Collection < org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 > result = IDENT_7 . METHOD_2 ( ) . METHOD_0 ( ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ) { org . xwiki . mail . IDENT_8 store = mock ( org . xwiki . mail . IDENT_8 . class ) ; org . xwiki . mail . IDENT_9 status = new org . xwiki . mail . METHOD_3 ( ) ; when ( store . load ( java . util . Collections . < java . lang . String , java . lang . Object > METHOD_4 ( STRING_4 , STRING_5 ) , 0 , 0 , STRING_6 , true ) ) . thenReturn ( java . util . Arrays . asList ( status ) ) ; org . xwiki . mail . internal . IDENT_10 result = new org . xwiki . mail . internal . METHOD_5 ( store ) ; result . METHOD_6 ( STRING_5 ) ; java . util . Iterator < org . xwiki . mail . METHOD_3 > IDENT_11 = result . METHOD_0 ( ) ; org . xwiki . mail . METHOD_3 IDENT_12 = IDENT_11 . next ( ) ; org . junit . Assert . assertSame ( status , IDENT_12 ) ; org . junit . Assert . assertFalse ( IDENT_11 . hasNext ( ) ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , result )