METHOD_0 ( ) { org . apache . ambari . server . configuration . Configuration configuration = mock ( org . apache . ambari . server . configuration . Configuration . class ) ; when ( configuration . METHOD_1 ( ) ) . thenReturn ( 100 ) ; org . apache . ambari . server . api . services . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . apache . ambari . server . api . services . IDENT_0 . IDENT_1 . class ) ; org . apache . ambari . server . api . services . IDENT_3 IDENT_4 = mock ( org . apache . ambari . server . api . services . IDENT_3 . class ) ; org . apache . ambari . server . state . IDENT_5 service = mock ( org . apache . ambari . server . state . IDENT_5 . class ) ; when ( IDENT_4 . METHOD_2 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( service ) ; when ( service . METHOD_3 ( ) ) . thenReturn ( IDENT_5 . IDENT_6 . IDENT_7 ) ; org . apache . ambari . server . api . services . IDENT_0 . IDENT_8 helper = new org . apache . ambari . server . api . services . IDENT_0 . METHOD_4 ( configuration , IDENT_2 , IDENT_4 , null , null ) ; org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 IDENT_11 = org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_12 ; org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 request = org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_13 . METHOD_5 ( STRING_0 , STRING_1 ) . METHOD_6 ( IDENT_11 ) . build ( ) ; org . apache . ambari . server . api . services . IDENT_0 . commands . IDENT_14 < org . apache . ambari . server . api . services . IDENT_0 . IDENT_15 . IDENT_16 > command = helper . METHOD_7 ( STRING_2 , request ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . String , org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 ) { org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 IDENT_11 = request . METHOD_8 ( ) ; org . apache . ambari . server . state . IDENT_5 . IDENT_6 IDENT_17 = METHOD_3 ( request . METHOD_9 ( ) , request . METHOD_10 ( ) , IDENT_18 ) ; org . apache . ambari . server . api . services . IDENT_0 . commands . IDENT_14 < org . apache . ambari . server . api . services . IDENT_0 . IDENT_15 . IDENT_16 > command ; if ( IDENT_11 == ( org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_19 ) ) { command = new org . apache . ambari . server . api . services . IDENT_0 . commands . METHOD_11 ( IDENT_20 , IDENT_21 , IDENT_17 , IDENT_22 , IDENT_2 , IDENT_4 , IDENT_23 ) ; } else if ( IDENT_11 == ( org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_24 ) ) { command = new org . apache . ambari . server . api . services . IDENT_0 . commands . METHOD_12 ( org . apache . ambari . server . api . services . IDENT_0 . commands . IDENT_25 . IDENT_26 , IDENT_20 , IDENT_21 , IDENT_17 , IDENT_22 , IDENT_2 , IDENT_4 , IDENT_23 , IDENT_27 ) ; } else if ( IDENT_11 == ( org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_28 ) ) { command = new org . apache . ambari . server . api . services . IDENT_0 . commands . METHOD_12 ( org . apache . ambari . server . api . services . IDENT_0 . commands . IDENT_25 . IDENT_29 , IDENT_20 , IDENT_21 , IDENT_17 , IDENT_22 , IDENT_2 , IDENT_4 , IDENT_23 , null ) ; } else if ( IDENT_11 == ( org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_30 ) ) { command = new org . apache . ambari . server . api . services . IDENT_0 . commands . METHOD_12 ( org . apache . ambari . server . api . services . IDENT_0 . commands . IDENT_25 . IDENT_31 , IDENT_20 , IDENT_21 , IDENT_17 , IDENT_22 , IDENT_2 , IDENT_4 , IDENT_23 , null ) ; } else if ( IDENT_11 == ( org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_32 ) ) { command = new org . apache . ambari . server . api . services . IDENT_0 . commands . METHOD_12 ( org . apache . ambari . server . api . services . IDENT_0 . commands . IDENT_25 . IDENT_33 , IDENT_20 , IDENT_21 , IDENT_17 , IDENT_22 , IDENT_2 , IDENT_4 , IDENT_23 , null ) ; } else if ( IDENT_11 == ( org . apache . ambari . server . api . services . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_12 ) ) { command = new org . apache . ambari . server . api . services . IDENT_0 . commands . METHOD_13 ( IDENT_20 , IDENT_21 , IDENT_17 , IDENT_22 , IDENT_2 , IDENT_4 , IDENT_23 ) ; } else { throw new org . apache . ambari . server . api . services . IDENT_0 . METHOD_14 ( java . lang . String . format ( STRING_3 , IDENT_11 ) ) ; } return command ; }
org . junit . Assert . assertEquals ( org . apache . ambari . server . api . services . IDENT_0 . commands . METHOD_13 . class , command . getClass ( ) )