METHOD_0 ( ) { hudson . model . User IDENT_0 = mock ( hudson . model . User . class ) ; hudson . model . User IDENT_1 = mock ( hudson . model . User . class ) ; hudson . plugins . IDENT_2 . IDENT_3 property = new hudson . plugins . IDENT_2 . METHOD_1 ( 2.0 , true , null ) ; when ( IDENT_0 . getProperty ( hudson . plugins . IDENT_2 . METHOD_1 . class ) ) . thenReturn ( property ) ; when ( IDENT_1 . getProperty ( hudson . plugins . IDENT_2 . METHOD_1 . class ) ) . thenReturn ( null ) ; new hudson . plugins . IDENT_2 . METHOD_2 ( ) . METHOD_3 ( java . util . Arrays . asList ( IDENT_1 , IDENT_0 ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 ) . getProperty ( hudson . plugins . IDENT_2 . METHOD_1 . class ) ; METHOD_4 ( IDENT_1 ) ; verify ( IDENT_0 ) . getProperty ( hudson . plugins . IDENT_2 . METHOD_1 . class ) ; verify ( IDENT_0 ) . save ( ) ; METHOD_4 ( IDENT_0 ) ; } METHOD_5 ( ) { return IDENT_4 ; }
org . junit . Assert . assertThat ( property . METHOD_5 ( ) , org . hamcrest . CoreMatchers . is ( 0.0 ) )