METHOD_0 ( ) { final java . util . concurrent . atomic . IDENT_0 events = new java . util . concurrent . atomic . METHOD_1 ( 0 ) ; final com . google . common . base . IDENT_1 < java . lang . String , java . lang . Object > IDENT_2 = new com . google . common . base . IDENT_1 < java . lang . String , java . lang . Object > ( ) { @ com . IDENT_3 . IDENT_4 . file . Override public java . lang . String apply ( java . lang . String IDENT_5 ) { events . METHOD_2 ( ) ; return null ; } } ; java . io . File IDENT_6 = new java . io . File ( STRING_0 ) ; if ( ! ( IDENT_6 . exists ( ) ) ) { IDENT_6 . METHOD_3 ( ) ; } java . io . File file = new java . io . File ( STRING_1 ) ; file . METHOD_4 ( ) ; IDENT_7 = new com . IDENT_3 . IDENT_4 . common . util . METHOD_5 ( file . getAbsolutePath ( ) , IDENT_2 , 10 ) ; IDENT_7 . start ( ) ; IDENT_8 = new com . IDENT_3 . IDENT_4 . common . util . METHOD_6 ( IDENT_6 . getAbsolutePath ( ) , IDENT_2 , 10 ) ; IDENT_8 . start ( ) ; com . google . common . io . IDENT_9 . write ( STRING_2 , file , IDENT_10 . UTF_8 ) ; java . lang . Thread . sleep ( ( 10 * 1000 ) ) ; "<AssertPlaceHolder>" ; org . apache . commons . io . IDENT_11 . METHOD_7 ( file ) ; org . apache . commons . io . IDENT_11 . METHOD_8 ( IDENT_6 ) ; } start ( ) { org . eclipse . IDENT_12 . IDENT_13 . IDENT_14 IDENT_15 = new org . eclipse . IDENT_12 . IDENT_13 . METHOD_9 ( ) ; IDENT_15 . METHOD_10 ( "/" ) ; IDENT_15 . METHOD_11 ( IDENT_16 ) ; IDENT_15 . METHOD_12 ( server ) ; server . METHOD_13 ( IDENT_15 ) ; java . lang . String host = com . IDENT_3 . IDENT_4 . common . util . IDENT_17 . METHOD_14 ( ) ; System . out . METHOD_15 ( STRING_3 , host , port ) ; com . IDENT_3 . IDENT_4 . service . admin . IDENT_18 . LOGGER . info ( STRING_4 , host , port ) ; server . start ( ) ; server . join ( ) ; }
org . junit . Assert . assertEquals ( 2 , events . get ( ) )