METHOD_0 ( ) { final org . apache . nifi . controller . IDENT_0 . IDENT_1 node = new org . apache . nifi . controller . IDENT_0 . METHOD_1 ( INT_0 , org . mockito . Mockito . mock ( org . apache . nifi . components . validation . IDENT_2 . class ) ) ; final org . apache . nifi . components . validation . IDENT_3 status = node . METHOD_2 ( 1 , TimeUnit . IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( long , java . util . concurrent . TimeUnit ) { long IDENT_5 = IDENT_6 . METHOD_3 ( IDENT_7 ) ; final long IDENT_8 = ( java . lang . System . currentTimeMillis ( ) ) + IDENT_5 ; MOD_0 ( IDENT_9 ) { while ( ( METHOD_2 ( ) ) == ( org . apache . nifi . components . validation . IDENT_3 . IDENT_10 ) ) { try { final long IDENT_11 = java . lang . Math . max ( 0 , ( IDENT_8 - ( java . lang . System . currentTimeMillis ( ) ) ) ) ; if ( IDENT_11 <= 0 ) { break ; } IDENT_9 . METHOD_4 ( IDENT_11 ) ; } catch ( java . lang . IDENT_12 e ) { java . lang . Thread . METHOD_5 ( ) . METHOD_6 ( ) ; return METHOD_2 ( ) ; } } return METHOD_2 ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_3 . IDENT_10 , status )