METHOD_0 ( ) { org . apache . ambari . server . api . resources . IDENT_0 IDENT_1 = METHOD_1 ( org . apache . ambari . server . api . resources . IDENT_0 . class ) ; java . util . Map < org . apache . ambari . server . controller . spi . IDENT_2 . Type , java . lang . String > IDENT_3 = new java . util . HashMap ( ) ; IDENT_3 . put ( IDENT_2 . Type . IDENT_4 , STRING_0 ) ; IDENT_3 . put ( IDENT_2 . Type . IDENT_5 , STRING_1 ) ; expect ( IDENT_1 . getType ( ) ) . andReturn ( IDENT_2 . Type . IDENT_5 ) . METHOD_2 ( ) ; expect ( IDENT_1 . METHOD_3 ( ) ) . andReturn ( java . util . Collections . METHOD_4 ( ) ) . METHOD_2 ( ) ; replay ( IDENT_1 ) ; org . apache . ambari . server . api . resources . IDENT_6 instance = new org . apache . ambari . server . api . query . IDENT_7 . METHOD_5 ( IDENT_3 , IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 ) ; } METHOD_6 ( ) { return ( METHOD_7 ( ) . get ( METHOD_8 ( ) . getType ( ) ) ) == null ; }
org . junit . Assert . assertFalse ( instance . METHOD_6 ( ) )