METHOD_0 ( ) { java . util . concurrent . IDENT_0 service = java . util . concurrent . IDENT_1 . METHOD_1 ( 3 ) ; com . baeldung . concurrent . IDENT_2 . IDENT_3 IDENT_4 = new com . baeldung . concurrent . IDENT_2 . METHOD_2 ( ) ; java . util . stream . IDENT_5 . range ( 0 , 1000 ) . METHOD_3 ( ( count ) -> service . METHOD_4 ( IDENT_4 :: IDENT_6 ) ) ; service . METHOD_5 ( INT_0 , TimeUnit . IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return this . count ; }
org . junit . Assert . assertEquals ( 1000 , IDENT_4 . METHOD_6 ( ) )