METHOD_0 ( ) { com . baeldung . IDENT_0 . IDENT_1 IDENT_2 = new com . baeldung . IDENT_0 . METHOD_1 ( 2 ) ; java . util . concurrent . atomic . IDENT_3 IDENT_4 = new java . util . concurrent . atomic . METHOD_2 ( ) ; com . baeldung . IDENT_0 . IDENT_5 executor = com . baeldung . IDENT_0 . IDENT_6 . METHOD_3 ( ) ; executor . METHOD_4 ( ( ) -> { IDENT_4 . set ( 1 ) ; IDENT_2 . METHOD_5 ( ) ; } ) ; executor . METHOD_4 ( ( ) -> { IDENT_4 . METHOD_6 ( 1 , 2 ) ; IDENT_2 . METHOD_5 ( ) ; } ) ; IDENT_2 . METHOD_7 ( 1000 , TimeUnit . IDENT_7 ) ; "<AssertPlaceHolder>" ; } get ( ) { java . lang . StringBuilder IDENT_8 = new java . lang . StringBuilder ( ) ; IDENT_8 . append ( STRING_0 ) . append ( java . net . IDENT_9 . METHOD_8 ( ) . METHOD_9 ( ) ) . append ( STRING_1 ) ; IDENT_8 . append ( STRING_2 ) . append ( java . net . IDENT_9 . METHOD_8 ( ) . METHOD_10 ( ) ) . append ( STRING_1 ) ; IDENT_8 . append ( STRING_3 ) . append ( STRING_4 ) . append ( STRING_1 ) ; return IDENT_8 . toString ( ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_4 . get ( ) )