METHOD_0 ( ) { org . apache . ambari . server . controller . spi . IDENT_0 . Type type = new org . apache . ambari . server . controller . spi . IDENT_0 . Type ( STRING_0 ) ; org . apache . ambari . server . IDENT_1 . entities . IDENT_2 IDENT_3 = org . apache . ambari . server . IDENT_1 . entities . IDENT_4 . METHOD_1 ( ) ; org . apache . ambari . server . api . services . IDENT_5 . IDENT_6 service = new org . apache . ambari . server . api . services . IDENT_5 . METHOD_2 ( type , IDENT_3 ) ; java . lang . Object IDENT_7 = new java . lang . Object ( ) ; service . METHOD_3 ( "foo" , IDENT_7 ) ; "<AssertPlaceHolder>" ; try { service . getResource ( "bar" ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . IllegalArgumentException e ) { } } getResource ( java . lang . String ) { java . lang . Object service = IDENT_8 . get ( IDENT_9 ) ; if ( service == null ) { throw new java . lang . IllegalArgumentException ( ( ( ( ( ( ( STRING_2 + IDENT_9 ) + STRING_3 ) + ( IDENT_10 ) ) + "/" ) + ( IDENT_11 ) ) + STRING_4 ) ) ; } return service ; }
org . junit . Assert . assertEquals ( IDENT_7 , service . getResource ( "foo" ) )