METHOD_0 ( ) { com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . config . IDENT_3 config = com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . mock . IDENT_4 . METHOD_1 ( ) ; com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_5 . IDENT_6 instance = new com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_2 ( config , jenkins ) ; com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_5 . model . IDENT_7 . IDENT_8 IDENT_9 = mock ( com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_5 . model . IDENT_7 . IDENT_8 . class ) ; com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_5 . model . IDENT_7 . IDENT_8 [ ] IDENT_10 = new com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_5 . model . IDENT_7 . IDENT_8 . Entry [ 1 ] ; com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_11 . IDENT_12 IDENT_2 = mock ( com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_11 . IDENT_12 . class ) ; when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( 1 ) ; com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_11 . data . IDENT_13 IDENT_14 = new com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_11 . data . METHOD_4 ( true , false , false , false ) ; when ( IDENT_2 . METHOD_5 ( ) ) . thenReturn ( IDENT_14 ) ; IDENT_10 [ 0 ] = com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . mock . IDENT_4 . METHOD_6 ( IDENT_2 , Result . IDENT_15 ) ; when ( IDENT_9 . METHOD_7 ( ) ) . thenReturn ( IDENT_10 ) ; java . lang . Integer result = instance . METHOD_8 ( IDENT_9 , true ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_5 . model . IDENT_7 . IDENT_8 , boolean ) { java . lang . Integer IDENT_16 = Integer . MAX_VALUE ; for ( com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_5 . model . IDENT_7 . IDENT_8 . Entry entry : IDENT_9 . METHOD_7 ( ) ) { hudson . model . IDENT_17 build = entry . METHOD_9 ( ) ; if ( build == null ) { continue ; } hudson . model . Result result = build . METHOD_10 ( ) ; if ( IDENT_18 && ( result == ( hudson . model . Result . IDENT_19 ) ) ) { continue ; } com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_11 . IDENT_12 IDENT_2 = com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_11 . IDENT_12 . METHOD_11 ( entry . METHOD_12 ( ) ) ; if ( METHOD_13 ( IDENT_2 . METHOD_5 ( ) , result ) ) { continue ; } java . lang . Integer IDENT_20 = METHOD_14 ( result , IDENT_2 ) ; if ( IDENT_20 != null ) { IDENT_16 = java . lang . Math . min ( IDENT_16 , IDENT_20 ) ; } } if ( IDENT_16 == ( Integer . MAX_VALUE ) ) { return null ; } return IDENT_16 ; }
org . junit . Assert . assertEquals ( null , result )