METHOD_0 ( ) { org . IDENT_0 . plugins . IDENT_1 . Date now = new org . IDENT_0 . plugins . IDENT_1 . Date ( ) ; org . IDENT_0 . plugins . IDENT_1 . Date IDENT_2 = new org . IDENT_0 . plugins . IDENT_1 . Date ( ( ( now . getTime ( ) ) - ( TimeUnit . IDENT_3 . METHOD_1 ( 1 ) ) ) ) ; org . IDENT_0 . plugins . IDENT_1 . Date IDENT_4 = new org . IDENT_0 . plugins . IDENT_1 . Date ( ( ( IDENT_2 . getTime ( ) ) + ( TimeUnit . IDENT_3 . METHOD_1 ( 2 ) ) ) ) ; org . apache . IDENT_1 . IDENT_5 . IDENT_6 IDENT_7 = METHOD_2 ( IDENT_2 , IDENT_4 ) ; org . IDENT_0 . plugins . IDENT_1 . ArrayList < org . apache . IDENT_1 . IDENT_5 . IDENT_6 > IDENT_8 = new org . IDENT_0 . plugins . IDENT_1 . ArrayList < org . apache . IDENT_1 . IDENT_5 . IDENT_6 > ( ) ; IDENT_8 . add ( IDENT_7 ) ; org . IDENT_0 . plugins . IDENT_1 . IDENT_9 . IDENT_10 request = METHOD_3 ( false , false , null ) ; IDENT_11 . METHOD_4 ( request , null ) ; hudson . model . IDENT_12 queue = org . mockito . Mockito . mock ( hudson . model . IDENT_12 . class ) ; org . mockito . Mockito . when ( jenkins . METHOD_5 ( ) ) . thenReturn ( queue ) ; hudson . model . IDENT_12 . IDENT_13 item = org . mockito . Mockito . mock ( hudson . model . IDENT_12 . IDENT_13 . class ) ; hudson . model . IDENT_12 . IDENT_13 [ ] IDENT_14 = new hudson . model . IDENT_12 . IDENT_13 [ ] { item } ; org . mockito . Mockito . when ( queue . METHOD_6 ( ) ) . thenReturn ( IDENT_14 ) ; org . mockito . Mockito . when ( IDENT_15 . METHOD_7 ( null ) ) . thenReturn ( true ) ; org . apache . IDENT_1 . IDENT_16 driver = org . mockito . Mockito . mock ( org . apache . IDENT_1 . IDENT_16 . class ) ; IDENT_11 . METHOD_8 ( driver ) ; IDENT_11 . METHOD_9 ( driver , IDENT_8 ) ; org . mockito . Mockito . verify ( IDENT_15 , METHOD_10 ( ) ) . METHOD_11 ( ) ; org . mockito . Mockito . verify ( driver ) . METHOD_12 ( IDENT_7 . getId ( ) , IDENT_5 . IDENT_17 . METHOD_13 ( ) . METHOD_14 ( IDENT_18 . IDENT_19 ) . build ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_15 ( ) { return org . IDENT_0 . plugins . IDENT_1 . Collections . METHOD_16 ( IDENT_20 ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_11 . METHOD_15 ( ) . size ( ) )