METHOD_0 ( ) { hudson . model . IDENT_0 build = mock ( hudson . model . IDENT_0 . class ) ; hudson . model . IDENT_1 project = mock ( hudson . model . IDENT_1 . class ) ; when ( build . METHOD_1 ( ) ) . thenReturn ( project ) ; hudson . IDENT_2 . IDENT_3 IDENT_4 = hudson . IDENT_2 . IDENT_3 . METHOD_2 ( build ) ; when ( build . METHOD_3 ( ) ) . thenReturn ( IDENT_4 ) ; when ( build . METHOD_4 ( ) ) . thenReturn ( Result . IDENT_5 ) ; final hudson . plugins . IDENT_6 . model . IDENT_7 IDENT_8 = new hudson . plugins . IDENT_6 . model . METHOD_5 ( STRING_0 , STRING_1 ) ; final hudson . plugins . IDENT_6 . model . METHOD_5 IDENT_9 = new hudson . plugins . IDENT_6 . model . METHOD_5 ( STRING_2 , STRING_1 ) ; final hudson . plugins . IDENT_6 . model . METHOD_5 IDENT_10 = new hudson . plugins . IDENT_6 . model . METHOD_5 ( STRING_3 , STRING_1 ) ; final hudson . plugins . IDENT_6 . model . METHOD_5 IDENT_11 = new hudson . plugins . IDENT_6 . model . METHOD_5 ( STRING_4 , STRING_1 ) ; final hudson . plugins . IDENT_6 . model . METHOD_5 IDENT_12 = new hudson . plugins . IDENT_6 . model . METHOD_5 ( STRING_5 , STRING_1 ) ; java . util . Set < hudson . plugins . IDENT_6 . model . METHOD_5 > IDENT_13 = com . google . common . collect . IDENT_14 . METHOD_6 ( IDENT_8 , IDENT_9 , IDENT_12 , IDENT_10 ) ; hudson . plugins . IDENT_6 . IDENT_15 session = mock ( hudson . plugins . IDENT_6 . IDENT_15 . class ) ; final java . util . List < com . IDENT_16 . IDENT_6 . rest . client . api . domain . IDENT_17 > IDENT_18 = new java . util . ArrayList ( ) ; org . mockito . IDENT_19 . IDENT_20 IDENT_21 = ( ( org . mockito . IDENT_19 . IDENT_20 < java . lang . Object > ) ( ( IDENT_22 ) -> { com . IDENT_16 . IDENT_6 . rest . client . api . domain . IDENT_17 c = com . IDENT_16 . IDENT_6 . rest . client . api . domain . IDENT_17 . METHOD_7 ( ( ( java . lang . String ) ( IDENT_22 . METHOD_8 ( ) [ 0 ] ) ) , ( ( java . lang . String ) ( IDENT_22 . METHOD_8 ( ) [ 1 ] ) ) ) ; IDENT_18 . add ( c ) ; return null ; } ) ) ; METHOD_9 ( IDENT_21 ) . when ( session ) . METHOD_10 ( eq ( IDENT_8 . getKey ( ) ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ; METHOD_9 ( IDENT_21 ) . when ( session ) . METHOD_10 ( eq ( IDENT_9 . getKey ( ) ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ; METHOD_9 ( IDENT_21 ) . when ( session ) . METHOD_10 ( eq ( IDENT_10 . getKey ( ) ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ; METHOD_11 ( new com . IDENT_16 . IDENT_6 . rest . client . api . METHOD_12 ( new java . lang . Throwable ( ) , INT_0 ) ) . when ( session ) . METHOD_10 ( eq ( IDENT_11 . getKey ( ) ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ; METHOD_11 ( new com . IDENT_16 . IDENT_6 . rest . client . api . METHOD_12 ( new java . lang . Throwable ( ) , INT_1 ) ) . when ( session ) . METHOD_10 ( eq ( IDENT_12 . getKey ( ) ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ; final java . lang . String IDENT_23 = "" ; final java . lang . String IDENT_24 = "" ; hudson . plugins . IDENT_6 . IDENT_25 IDENT_26 = new hudson . plugins . IDENT_6 . METHOD_13 ( build . METHOD_14 ( ) . METHOD_15 ( ) ) ; IDENT_26 . METHOD_16 ( build , System . out , STRING_6 , IDENT_13 , session , false , false , IDENT_23 , IDENT_24 ) ; final java . util . Set < hudson . plugins . IDENT_6 . model . METHOD_5 > IDENT_27 = com . google . common . collect . IDENT_14 . METHOD_17 ( ) ; IDENT_27 . add ( IDENT_12 ) ; "<AssertPlaceHolder>" ; } METHOD_16 ( hudson . model . IDENT_28 , java . io . IDENT_29 , java . lang . String , java . util . Set , hudson . plugins . IDENT_6 . IDENT_15 , boolean , boolean , java . lang . String , java . lang . String ) { java . util . Set < hudson . plugins . IDENT_6 . model . METHOD_5 > IDENT_30 = com . google . common . collect . IDENT_31 . METHOD_18 ( IDENT_13 ) ; for ( hudson . plugins . IDENT_6 . model . METHOD_5 IDENT_32 : IDENT_30 ) { logger . println ( hudson . plugins . IDENT_6 . IDENT_33 . METHOD_19 ( IDENT_32 . getKey ( ) ) ) ; try { session . METHOD_10 ( IDENT_32 . getKey ( ) , METHOD_20 ( build , IDENT_34 , IDENT_35 , IDENT_36 , IDENT_32 ) , IDENT_23 , IDENT_24 ) ; if ( ! ( IDENT_37 . isEmpty ( ) ) ) { session . METHOD_21 ( IDENT_32 . getKey ( ) , IDENT_37 ) ; } } catch ( com . IDENT_16 . IDENT_6 . rest . client . api . METHOD_12 e ) { if ( e . getStatusCode ( ) . METHOD_22 ( 0 ) . equals ( INT_0 ) ) { logger . println ( ( ( IDENT_32 . getKey ( ) ) + STRING_7 ) ) ; } if ( e . getStatusCode ( ) . METHOD_22 ( 0 ) . equals ( INT_1 ) ) { logger . println ( ( ( IDENT_32 . getKey ( ) ) + STRING_8 ) ) ; continue ; } if ( e . getStatusCode ( ) . METHOD_22 ( 0 ) . equals ( INT_2 ) ) { logger . println ( ( ( IDENT_32 . getKey ( ) ) + STRING_9 ) ) ; continue ; } logger . println ( hudson . plugins . IDENT_6 . IDENT_33 . METHOD_23 ( IDENT_32 . getKey ( ) ) ) ; logger . println ( e . METHOD_24 ( ) ) ; } IDENT_13 . remove ( IDENT_32 ) ; } }
org . junit . Assert . assertThat ( IDENT_13 , org . hamcrest . CoreMatchers . is ( IDENT_27 ) )