METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( anyString ( ) , anyString ( ) ) ) . thenReturn ( METHOD_2 ( ) ) ; org . apache . IDENT_1 . app . service . IDENT_2 IDENT_3 = mock ( org . apache . IDENT_1 . app . service . IDENT_2 . class ) ; org . IDENT_4 . api . mockito . IDENT_5 . METHOD_3 ( org . apache . IDENT_1 . app . service . IDENT_2 . class ) . METHOD_4 ( METHOD_5 ( ) , METHOD_5 ( ) , METHOD_5 ( ) , METHOD_5 ( ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_3 . getStatus ( ) ) . thenReturn ( IDENT_6 . Status . IDENT_7 ) ; org . apache . IDENT_1 . metadata . model . IDENT_6 . Status status = IDENT_8 . getStatus ( IDENT_9 ) ; "<AssertPlaceHolder>" ; } getStatus ( org . apache . IDENT_1 . app . service . impl . IDENT_10 ) { try { org . apache . IDENT_1 . app . service . impl . IDENT_6 IDENT_11 = IDENT_0 . METHOD_1 ( operation . METHOD_6 ( ) , operation . METHOD_7 ( ) ) ; org . apache . IDENT_1 . app . IDENT_12 application = IDENT_13 . METHOD_8 ( IDENT_11 . METHOD_9 ( ) . getType ( ) ) . METHOD_10 ( ) ; com . google . common . base . IDENT_14 . METHOD_11 ( application . METHOD_12 ( ) , STRING_0 ) ; org . apache . IDENT_1 . app . service . impl . IDENT_2 IDENT_3 = new org . apache . IDENT_1 . app . service . impl . METHOD_13 ( application , IDENT_11 , config , IDENT_15 ) ; return IDENT_3 . getStatus ( ) ; } catch ( java . lang . IllegalArgumentException e ) { org . apache . IDENT_1 . app . service . impl . IDENT_16 . LOGGER . error ( STRING_1 , e ) ; throw e ; } }
org . junit . Assert . assertEquals ( IDENT_6 . Status . IDENT_7 , status )