METHOD_0 ( ) { com . IDENT_0 . tools . IDENT_1 . IDENT_2 . dto . events . IDENT_3 IDENT_4 = com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . mock . IDENT_7 . METHOD_1 ( STRING_0 , STRING_1 , STRING_2 ) ; hudson . model . IDENT_8 . IDENT_9 item = METHOD_2 ( IDENT_4 , STRING_3 ) ; IDENT_10 . METHOD_3 ( IDENT_4 ) ; java . util . List < hudson . model . IDENT_11 > IDENT_12 = new java . util . ArrayList < hudson . model . IDENT_11 > ( ) ; hudson . model . IDENT_13 build = org . mockito . Mockito . mock ( hudson . model . IDENT_13 . class ) ; IDENT_12 . add ( build ) ; when ( build . METHOD_4 ( ) ) . thenReturn ( Result . IDENT_14 ) ; when ( build . METHOD_5 ( ) ) . thenReturn ( 1 ) ; when ( build . METHOD_6 ( ) ) . thenReturn ( IDENT_15 ) ; hudson . IDENT_16 IDENT_17 = org . mockito . Mockito . mock ( hudson . IDENT_16 . class ) ; when ( IDENT_17 . put ( anyString ( ) , anyString ( ) ) ) . thenReturn ( "" ) ; doReturn ( IDENT_12 ) . when ( IDENT_18 ) . METHOD_7 ( IDENT_4 ) ; IDENT_10 . METHOD_8 ( item ) ; com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_19 . IDENT_20 IDENT_21 = item . METHOD_9 ( com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_19 . IDENT_20 . class ) ; "<AssertPlaceHolder>" ; IDENT_21 . METHOD_10 ( build , IDENT_17 ) ; verify ( IDENT_17 ) . put ( STRING_4 , STRING_3 ) ; verify ( IDENT_17 ) . put ( STRING_5 , "1" ) ; verify ( IDENT_17 ) . put ( STRING_6 0 , STRING_6 ) ; verify ( IDENT_17 ) . put ( STRING_7 , STRING_3 ) ; } METHOD_8 ( hudson . model . IDENT_8 . IDENT_9 ) { if ( item . METHOD_11 ( ) ) { return null ; } java . lang . Long IDENT_22 = java . lang . Long . valueOf ( item . getId ( ) ) ; if ( IDENT_23 . containsKey ( IDENT_22 ) ) { com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_24 . IDENT_25 . IDENT_26 IDENT_27 = IDENT_23 . get ( IDENT_22 ) ; if ( IDENT_27 . METHOD_12 ( ) ) { if ( ( IDENT_27 . IDENT_28 ) != null ) { item . METHOD_13 ( new com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_24 . METHOD_14 ( IDENT_27 . IDENT_28 ) ) ; com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_24 . IDENT_25 . logger . trace ( STRING_8 , IDENT_27 . METHOD_15 ( ) , IDENT_27 . IDENT_28 ) ; } else { com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_24 . IDENT_25 . logger . trace ( STRING_9 , IDENT_27 . METHOD_15 ( ) ) ; } IDENT_23 . remove ( IDENT_22 ) ; return null ; } else { com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_24 . IDENT_25 . logger . trace ( ( ( ( ( IDENT_27 . METHOD_15 ( ) ) + STRING_10 ) + ( item . METHOD_16 ( ) ) ) + STRING_11 ) , IDENT_22 , IDENT_27 . IDENT_29 . size ( ) ) ; return new com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_24 . METHOD_17 ( IDENT_27 . IDENT_29 . values ( ) ) ; } } else { com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_24 . IDENT_25 . IDENT_26 IDENT_27 = METHOD_18 ( item ) ; if ( IDENT_27 != null ) { METHOD_19 ( IDENT_27 ) ; IDENT_23 . put ( IDENT_22 , IDENT_27 ) ; return METHOD_8 ( item ) ; } else { com . IDENT_5 . hudson . plugins . IDENT_1 . IDENT_6 . IDENT_24 . IDENT_25 . logger . debug ( STRING_12 , item . getId ( ) ) ; } } return null ; }
org . junit . Assert . assertNotNull ( IDENT_21 )