METHOD_0 ( ) { java . util . concurrent . IDENT_0 executor = java . util . concurrent . IDENT_1 . METHOD_1 ( com . baeldung . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) ; java . util . Set < com . baeldung . IDENT_2 . IDENT_3 . IDENT_6 > IDENT_7 = java . util . Collections . METHOD_2 ( new java . util . HashSet ( ) ) ; for ( int i = 0 ; i < ( com . baeldung . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_8 ) ; i ++ ) { executor . METHOD_3 ( ( ) -> IDENT_7 . add ( com . baeldung . IDENT_2 . IDENT_3 . IDENT_6 . getInstance ( ) ) ) ; } "<AssertPlaceHolder>" ; } size ( ) { return elements . size ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_7 . size ( ) )