METHOD_0 ( ) { javax . servlet . http . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_0 . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( org . mockito . Mockito . mock ( javax . servlet . IDENT_2 . class ) ) ; javax . servlet . http . IDENT_3 req = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_3 . class ) ; org . mockito . Mockito . when ( req . METHOD_2 ( ) ) . thenReturn ( net . IDENT_4 . IDENT_5 . web . IDENT_6 . IDENT_7 . IDENT_8 ) ; javax . servlet . IDENT_9 IDENT_10 = org . mockito . Mockito . mock ( javax . servlet . IDENT_9 . class ) ; javax . servlet . IDENT_11 ctx = org . mockito . Mockito . mock ( javax . servlet . IDENT_11 . class ) ; org . mockito . Mockito . when ( IDENT_10 . METHOD_3 ( ) ) . thenReturn ( ctx ) ; net . IDENT_4 . IDENT_5 . web . IDENT_6 . IDENT_7 servlet = new net . IDENT_4 . IDENT_5 . web . IDENT_6 . METHOD_4 ( ) ; servlet . init ( IDENT_10 ) ; java . io . File IDENT_12 = this . IDENT_13 . METHOD_5 ( ) ; servlet . IDENT_14 = IDENT_12 . getAbsolutePath ( ) ; java . io . File f = new java . io . File ( IDENT_12 , net . IDENT_4 . IDENT_5 . web . IDENT_6 . METHOD_4 . IDENT_15 ) ; net . IDENT_4 . core . utils . Utils . METHOD_6 ( STRING_0 , f ) ; "<AssertPlaceHolder>" ; servlet . METHOD_7 ( req , IDENT_1 ) ; org . mockito . Mockito . verify ( req , org . mockito . Mockito . METHOD_8 ( 1 ) ) . METHOD_2 ( ) ; org . mockito . Mockito . verify ( IDENT_1 , org . mockito . Mockito . METHOD_9 ( ) ) . METHOD_1 ( ) ; } METHOD_6 ( java . lang . String , java . io . File ) { java . io . InputStream in = new java . io . ByteArrayInputStream ( s . getBytes ( IDENT_16 . UTF_8 ) ) ; net . IDENT_4 . core . utils . Utils . METHOD_10 ( in , IDENT_17 ) ; }
org . junit . Assert . assertTrue ( f . exists ( ) )