METHOD_0 ( ) { IDENT_0 . IDENT_1 . jenkins . pipeline . domain . IDENT_2 component = mock ( IDENT_0 . IDENT_1 . jenkins . pipeline . domain . IDENT_2 . class ) ; when ( component . METHOD_1 ( ) ) . thenReturn ( false ) ; final int IDENT_3 = 9 ; int IDENT_4 = IDENT_0 . IDENT_1 . jenkins . pipeline . domain . IDENT_5 . METHOD_2 ( component , IDENT_0 . IDENT_1 . jenkins . pipeline . domain . IDENT_6 . IDENT_7 , IDENT_3 , 10 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( IDENT_0 . IDENT_1 . jenkins . pipeline . domain . IDENT_2 , boolean , int , int ) { int IDENT_4 = IDENT_8 ; if ( IDENT_9 && ( ! ( component . METHOD_1 ( ) ) ) ) { IDENT_4 = java . lang . Math . min ( ( IDENT_10 - ( ( ( component . METHOD_3 ( ) ) - 1 ) * IDENT_8 ) ) , IDENT_8 ) ; } return IDENT_4 ; }
org . junit . Assert . assertThat ( IDENT_4 , org . hamcrest . core . Is . is ( IDENT_3 ) )