METHOD_0 ( ) { final com . microsoft . azure . maven . auth . IDENT_0 helper = new com . microsoft . azure . maven . auth . METHOD_1 ( IDENT_1 ) ; when ( file . exists ( ) ) . thenReturn ( true ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_2 ( ) ; when ( IDENT_2 . METHOD_3 ( any ( java . io . File . class ) ) ) . thenReturn ( IDENT_4 ) ; auth = IDENT_3 . METHOD_4 ( file ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . io . File ) { if ( IDENT_5 == null ) { METHOD_5 ( ) . debug ( com . microsoft . azure . maven . auth . METHOD_1 . IDENT_6 ) ; return null ; } if ( ! ( IDENT_5 . exists ( ) ) ) { METHOD_5 ( ) . error ( ( ( com . microsoft . azure . maven . auth . METHOD_1 . IDENT_7 ) + ( IDENT_5 . getAbsolutePath ( ) ) ) ) ; return null ; } try { final com . microsoft . azure . management . IDENT_8 . IDENT_9 auth = METHOD_2 ( ) . METHOD_3 ( IDENT_5 ) ; if ( auth != null ) { METHOD_5 ( ) . info ( ( ( com . microsoft . azure . maven . auth . METHOD_1 . IDENT_10 ) + ( IDENT_5 . getAbsolutePath ( ) ) ) ) ; } return auth ; } catch ( java . lang . Exception e ) { METHOD_5 ( ) . error ( ( ( com . microsoft . azure . maven . auth . METHOD_1 . IDENT_11 ) + ( IDENT_5 . getAbsolutePath ( ) ) ) ) ; METHOD_5 ( ) . error ( e ) ; } return null ; }
org . junit . Assert . assertSame ( IDENT_4 , auth )