METHOD_0 ( ) { METHOD_1 ( IDENT_0 ) ; org . springframework . web . context . request . IDENT_1 . METHOD_2 ( IDENT_0 ) ; expect ( IDENT_0 . METHOD_3 ( eq ( STRING_0 ) , eq ( IDENT_2 . IDENT_3 ) ) ) . andReturn ( STRING_1 ) . METHOD_4 ( ) ; replay ( IDENT_0 ) ; java . lang . String user = org . apache . ambari . server . security . authorization . IDENT_4 . METHOD_5 ( STRING_0 ) ; verify ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } verify ( java . nio . file . Path ) { java . util . IDENT_5 . IDENT_6 IDENT_7 = null ; try { java . io . File file = IDENT_8 . METHOD_6 ( ) . METHOD_7 ( ) ; METHOD_8 ( ( ! ( file . METHOD_9 ( ) ) ) ) ; METHOD_8 ( ( ( file . length ( ) ) > 0 ) ) ; IDENT_7 = new java . util . IDENT_5 . METHOD_10 ( file ) ; } catch ( java . lang . Exception e ) { org . apache . ambari . server . view . IDENT_9 . LOG . info ( STRING_2 , e ) ; return false ; } finally { org . apache . ambari . server . utils . IDENT_10 . METHOD_11 ( IDENT_7 ) ; } return true ; }
org . junit . Assert . assertEquals ( STRING_1 , user )