METHOD_0 ( ) { try ( com . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_3 IDENT_1 = new com . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_1 ( IDENT_4 , java . lang . String . format ( STRING_0 , IDENT_5 . METHOD_2 ( ) ) ) ) { IDENT_1 . start ( ) ; com . IDENT_0 . exec . IDENT_6 . IDENT_7 . IDENT_8 IDENT_9 = IDENT_7 . IDENT_8 . METHOD_3 ( ) . METHOD_4 ( STRING_1 ) . METHOD_5 ( INT_0 ) . METHOD_6 ( INT_1 ) . METHOD_7 ( IDENT_10 . IDENT_11 . METHOD_8 ( com . google . common . collect . IDENT_12 . METHOD_9 ( IDENT_10 . IDENT_11 . IDENT_13 ) ) ) . build ( ) ; com . IDENT_0 . exec . IDENT_6 . IDENT_7 . IDENT_8 IDENT_14 = IDENT_7 . IDENT_8 . METHOD_3 ( ) . METHOD_4 ( STRING_2 ) . METHOD_5 ( INT_2 ) . METHOD_6 ( INT_3 ) . METHOD_7 ( IDENT_10 . IDENT_11 . METHOD_8 ( com . google . common . collect . IDENT_12 . METHOD_9 ( IDENT_10 . IDENT_11 . IDENT_13 ) ) ) . build ( ) ; com . IDENT_0 . service . IDENT_1 . IDENT_15 IDENT_16 = new com . IDENT_0 . service . IDENT_1 . METHOD_10 ( com . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_17 . IDENT_18 , com . IDENT_0 . service . IDENT_19 . METHOD_11 ( IDENT_1 ) , ( 1000 * INT_4 ) , ( 1000 * INT_4 ) , com . IDENT_0 . service . IDENT_19 . METHOD_11 ( IDENT_9 ) , java . util . concurrent . IDENT_20 . METHOD_12 ( ) ) ; com . IDENT_0 . service . IDENT_1 . METHOD_10 IDENT_21 = new com . IDENT_0 . service . IDENT_1 . METHOD_10 ( com . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_17 . IDENT_18 , com . IDENT_0 . service . IDENT_19 . METHOD_11 ( IDENT_1 ) , ( 1000 * INT_4 ) , ( 1000 * INT_4 ) , com . IDENT_0 . service . IDENT_19 . METHOD_11 ( IDENT_14 ) , java . util . concurrent . IDENT_20 . METHOD_12 ( ) ) ; java . util . List < com . IDENT_0 . service . IDENT_1 . METHOD_10 > IDENT_22 = com . google . common . collect . ImmutableList . of ( IDENT_16 , IDENT_21 ) ; IDENT_22 . METHOD_13 ( ( v ) -> { try { v . start ( ) ; } catch ( e ) { throw new < com . IDENT_0 . service . IDENT_1 . IDENT_2 . e > java . lang . RuntimeException ( ) ; } } ) ; while ( IDENT_22 . stream ( ) . METHOD_14 ( METHOD_10 :: IDENT_23 ) ) { java . lang . Thread . sleep ( 50 ) ; } int i = 0 ; while ( ( i ++ ) < 3 ) { com . IDENT_0 . service . IDENT_1 . METHOD_10 IDENT_24 = METHOD_15 ( IDENT_22 ) ; "<AssertPlaceHolder>" ; com . IDENT_0 . exec . IDENT_6 . IDENT_7 . IDENT_8 IDENT_25 = IDENT_24 . METHOD_16 ( ) ; com . IDENT_0 . exec . IDENT_6 . IDENT_7 . IDENT_8 IDENT_26 = IDENT_24 . METHOD_17 ( ) ; while ( IDENT_25 . equals ( IDENT_26 ) ) { java . lang . Thread . sleep ( 100 ) ; IDENT_25 = IDENT_24 . METHOD_16 ( ) ; IDENT_26 = IDENT_24 . METHOD_17 ( ) ; } } IDENT_22 . METHOD_13 ( ( v ) -> { try { v . close ( ) ; } catch ( e ) { throw new < com . IDENT_0 . service . IDENT_1 . IDENT_2 . e > java . lang . RuntimeException ( ) ; } } ) ; } } METHOD_15 ( java . util . List ) { java . util . List < com . IDENT_0 . service . IDENT_1 . METHOD_10 > IDENT_27 = IDENT_28 . stream ( ) . filter ( METHOD_10 :: IDENT_23 ) . collect ( java . util . stream . IDENT_29 . toList ( ) ) ; org . junit . Assert . assertEquals ( 1 , IDENT_27 . size ( ) ) ; return IDENT_27 . get ( 0 ) ; }
org . junit . Assert . assertNotNull ( IDENT_24 )