METHOD_0 ( ) { com . google . IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( com . google . IDENT_0 . IDENT_1 . class ) ; org . apache . ambari . server . state . IDENT_3 cluster = METHOD_1 ( org . apache . ambari . server . state . IDENT_3 . class ) ; org . apache . ambari . server . state . IDENT_4 service = METHOD_1 ( org . apache . ambari . server . state . IDENT_4 . class ) ; org . apache . ambari . server . state . IDENT_5 component = METHOD_1 ( org . apache . ambari . server . state . IDENT_5 . class ) ; java . util . Map < java . lang . String , org . apache . ambari . server . state . IDENT_6 > IDENT_7 = new java . util . HashMap ( ) ; expect ( component . METHOD_2 ( ) ) . andReturn ( IDENT_7 ) ; replay ( cluster , service , component , IDENT_2 ) ; org . apache . ambari . server . controller . IDENT_8 controller = new org . apache . ambari . server . controller . METHOD_3 ( null , org . apache . ambari . server . controller . IDENT_9 . IDENT_10 , IDENT_2 ) ; java . lang . String host = controller . METHOD_4 ( cluster , service , component ) ; verify ( cluster , service , component , IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . apache . ambari . server . state . IDENT_3 , org . apache . ambari . server . state . IDENT_4 , org . apache . ambari . server . state . IDENT_5 ) { if ( ( IDENT_11 != null ) && ( ! ( IDENT_11 . METHOD_2 ( ) . isEmpty ( ) ) ) ) { java . util . Set < java . lang . String > IDENT_12 = IDENT_11 . METHOD_2 ( ) . METHOD_5 ( ) ; METHOD_6 ( IDENT_12 , service , cluster , IDENT_13 . Type . IDENT_3 ) ; return METHOD_7 ( IDENT_12 ) ; } return null ; }
org . junit . Assert . assertNull ( host )