METHOD_0 ( ) { java . util . List < java . lang . String > errors = new java . util . ArrayList < java . lang . String > ( ) ; org . apache . commons . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . apache . commons . IDENT_0 . IDENT_1 . class , STRING_0 ) ; org . apache . commons . IDENT_0 . IDENT_1 IDENT_3 = mock ( org . apache . commons . IDENT_0 . IDENT_1 . class , STRING_1 ) ; when ( IDENT_3 . getName ( ) ) . thenReturn ( IDENT_4 . getName ( ) ) ; METHOD_1 ( new java . io . IOException ( STRING_2 ) ) . when ( IDENT_3 ) . write ( IDENT_4 ) ; when ( IDENT_2 . getName ( ) ) . thenReturn ( IDENT_5 . getName ( ) ) ; METHOD_1 ( new java . io . IOException ( STRING_3 ) ) . when ( IDENT_2 ) . write ( IDENT_5 ) ; IDENT_5 . delete ( ) ; IDENT_4 . delete ( ) ; manager . METHOD_2 ( java . util . Arrays . asList ( IDENT_2 , IDENT_3 ) , errors ) ; "<AssertPlaceHolder>" ; } size ( ) { return IDENT_6 . METHOD_3 ( ) ; }
org . junit . Assert . assertEquals ( 4 , errors . size ( ) )