METHOD_0 ( ) { org . apache . IDENT_0 . rest . mock . IDENT_1 IDENT_2 = mock ( org . apache . IDENT_0 . rest . mock . IDENT_1 . class ) ; org . apache . IDENT_0 . job . manager . IDENT_3 IDENT_4 = mock ( org . apache . IDENT_0 . job . manager . IDENT_3 . class ) ; org . apache . IDENT_0 . job . IDENT_5 IDENT_6 = new org . apache . IDENT_0 . job . METHOD_1 ( ) . METHOD_2 ( STRING_0 ) . METHOD_3 ( METHOD_1 . IDENT_7 . IDENT_8 ) . METHOD_4 ( STRING_1 ) . METHOD_5 ( FLOAT_0 ) ; org . apache . IDENT_0 . job . IDENT_9 IDENT_10 = mock ( org . apache . IDENT_0 . job . IDENT_9 . class ) ; when ( IDENT_10 . METHOD_6 ( ) ) . thenReturn ( 0 ) ; when ( IDENT_2 . getStatus ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_2 . METHOD_7 ( ) ) . thenReturn ( true ) ; when ( IDENT_2 . get ( ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_4 . METHOD_8 ( STRING_2 , STRING_0 ) ) . thenReturn ( IDENT_2 ) ; org . apache . IDENT_0 . rest . service . impl . IDENT_11 IDENT_12 = new org . apache . IDENT_0 . rest . service . impl . METHOD_9 ( IDENT_13 , configuration , IDENT_14 , IDENT_4 , IDENT_15 ) ; org . apache . IDENT_0 . rest . model . IDENT_16 . IDENT_17 status = IDENT_12 . METHOD_10 ( STRING_2 , STRING_0 ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_10 ( STRING_2 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { return IDENT_18 ; }
org . junit . Assert . assertThat ( status . METHOD_11 ( ) , org . hamcrest . CoreMatchers . equalTo ( METHOD_1 . IDENT_7 . IDENT_8 . toString ( ) ) )