METHOD_0 ( ) { final java . util . concurrent . atomic . IDENT_0 IDENT_1 = new java . util . concurrent . atomic . METHOD_1 ( 0 ) ; METHOD_2 ( new org . mockito . IDENT_2 . METHOD_3 ( ) { @ com . spotify . metrics . IDENT_3 . Override public java . lang . Object METHOD_4 ( org . mockito . IDENT_4 . IDENT_5 IDENT_4 ) throws java . lang . Throwable { IDENT_1 . METHOD_5 ( ) ; return null ; } } ) . when ( IDENT_6 ) . METHOD_6 ( any ( eu . IDENT_7 . IDENT_3 . IDENT_8 . class ) ) ; IDENT_9 . start ( ) ; java . lang . Thread . sleep ( com . spotify . metrics . IDENT_3 . IDENT_10 . IDENT_11 ) ; IDENT_9 . METHOD_7 ( ) ; java . lang . Thread . sleep ( com . spotify . metrics . IDENT_3 . IDENT_10 . IDENT_11 ) ; int IDENT_12 = IDENT_1 . get ( ) ; java . lang . Thread . sleep ( ( ( com . spotify . metrics . IDENT_3 . IDENT_10 . IDENT_11 ) * 2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { long IDENT_13 = IDENT_14 . METHOD_8 ( ) ; return remote . METHOD_9 ( "/" , IDENT_15 , com . spotify . metrics . remote . IDENT_16 . METHOD_10 ( java . lang . Long . toString ( ( IDENT_13 - IDENT_17 ) ) , key , IDENT_18 ) ) ; }
org . junit . Assert . assertThat ( IDENT_1 . get ( ) , org . hamcrest . CoreMatchers . equalTo ( IDENT_12 ) )