METHOD_0 ( ) { when ( cache . METHOD_1 ( eq ( IDENT_0 ) , ( ( java . lang . String [ ] ) ( org . mockito . Mockito . METHOD_2 ( ) ) ) ) ) . thenReturn ( null ) ; when ( writer . METHOD_1 ( eq ( IDENT_0 ) , ( ( java . lang . String [ ] ) ( org . mockito . Mockito . METHOD_2 ( ) ) ) ) ) . thenReturn ( IDENT_1 ) ; "<AssertPlaceHolder>" ; org . mockito . IDENT_2 IDENT_3 = METHOD_3 ( cache , writer ) ; METHOD_3 . verify ( cache , times ( 1 ) ) . METHOD_1 ( IDENT_0 , STRING_0 ) ; METHOD_3 . verify ( writer , times ( 1 ) ) . METHOD_1 ( eq ( IDENT_0 ) , ( ( java . lang . String [ ] ) ( org . mockito . Mockito . METHOD_2 ( ) ) ) ) ; METHOD_3 . verify ( cache ) . add ( IDENT_1 ) ; verify ( IDENT_1 ) . METHOD_4 ( eq ( STRING_0 ) , any ( java . util . Date . class ) ) ; } METHOD_1 ( com . IDENT_4 . IDENT_5 . IDENT_6 , java . lang . String [ ] ) { for ( java . lang . String t : IDENT_7 ) { ( ( com . IDENT_4 . IDENT_5 . IDENT_8 . IDENT_9 ) ( query ) ) . METHOD_5 ( t ) ; } com . IDENT_4 . IDENT_5 . IDENT_8 . IDENT_10 d = METHOD_6 ( query ) ; if ( d != null ) { for ( java . lang . String t : IDENT_7 ) { d . METHOD_7 ( Document . IDENT_11 , t ) ; } } return d ; }
org . junit . Assert . assertEquals ( IDENT_1 , io . METHOD_1 ( IDENT_0 , STRING_0 ) )