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