METHOD_0 ( ) { hudson . model . IDENT_0 build = org . mockito . Mockito . mock ( hudson . model . IDENT_0 . class ) ; hudson . model . Node node = org . mockito . Mockito . mock ( hudson . model . Node . class ) ; when ( build . METHOD_1 ( ) ) . thenReturn ( node ) ; hudson . util . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( hudson . util . IDENT_1 . class ) ; when ( node . METHOD_2 ( ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_2 . get ( hudson . IDENT_3 . IDENT_4 . class ) ) . thenReturn ( null ) ; java . util . HashMap < java . lang . String , java . lang . String > options = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; options . put ( IDENT_5 . IDENT_6 , java . lang . Boolean . toString ( true ) ) ; hudson . plugins . IDENT_7 . IDENT_5 builder = new hudson . plugins . IDENT_7 . METHOD_3 ( options ) ; hudson . IDENT_8 IDENT_9 = new hudson . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( hudson . plugins . IDENT_7 . IDENT_10 , hudson . plugins . IDENT_7 . METHOD_4 ) { if ( METHOD_6 ( ) ) { if ( ( ( build != null ) && ( IDENT_11 != null ) ) && ( ( IDENT_11 . get ( hudson . plugins . IDENT_7 . METHOD_3 . IDENT_12 ) ) != null ) ) { return IDENT_11 . get ( hudson . plugins . IDENT_7 . METHOD_3 . IDENT_12 ) ; } else { return hudson . plugins . IDENT_7 . METHOD_3 . IDENT_13 ; } } else return METHOD_7 ( hudson . plugins . IDENT_7 . METHOD_3 . IDENT_14 , STRING_0 , IDENT_11 ) ; }
org . junit . Assert . assertEquals ( METHOD_3 . IDENT_13 , builder . METHOD_5 ( build , IDENT_9 ) )