METHOD_0 ( ) { org . apache . ambari . server . IDENT_0 . entities . IDENT_1 entity = new org . apache . ambari . server . IDENT_0 . entities . METHOD_1 ( ) ; org . apache . ambari . server . IDENT_0 . entities . METHOD_1 IDENT_2 = new org . apache . ambari . server . IDENT_0 . entities . METHOD_1 ( ) ; expect ( IDENT_3 . METHOD_2 ( eq ( entity ) ) ) . andReturn ( IDENT_2 ) ; replay ( IDENT_3 ) ; org . apache . ambari . server . IDENT_0 . dao . IDENT_4 dao = new org . apache . ambari . server . IDENT_0 . dao . METHOD_3 ( ) ; dao . IDENT_5 = IDENT_5 ; "<AssertPlaceHolder>" ; verify ( IDENT_5 , IDENT_3 ) ; } METHOD_4 ( org . apache . ambari . server . IDENT_0 . entities . METHOD_1 ) { return IDENT_5 . get ( ) . METHOD_2 ( IDENT_6 ) ; }
org . junit . Assert . assertSame ( IDENT_2 , dao . METHOD_4 ( entity ) )