METHOD_0 ( ) { final com . microsoft . azure . maven . auth . IDENT_0 helper = new com . microsoft . azure . maven . auth . METHOD_1 ( IDENT_1 ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_2 ( server ) ; doReturn ( IDENT_4 ) . when ( IDENT_3 ) . METHOD_3 ( ) ; when ( IDENT_4 . METHOD_4 ( any ( com . microsoft . azure . IDENT_2 . IDENT_5 . class ) ) ) . thenReturn ( IDENT_6 ) ; auth = IDENT_3 . METHOD_5 ( IDENT_7 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . apache . maven . IDENT_7 . IDENT_8 , java . lang . String ) { if ( org . IDENT_9 . IDENT_10 . util . StringUtils . isEmpty ( IDENT_11 ) ) { METHOD_6 ( ) . debug ( com . microsoft . azure . maven . auth . METHOD_1 . IDENT_12 ) ; return null ; } final org . apache . maven . IDENT_7 . IDENT_13 server = com . microsoft . azure . maven . Utils . METHOD_7 ( IDENT_7 , IDENT_11 ) ; try { com . microsoft . azure . maven . Utils . METHOD_8 ( server , IDENT_11 ) ; } catch ( org . apache . maven . plugin . IDENT_14 ex ) { METHOD_6 ( ) . error ( ex . getMessage ( ) ) ; return null ; } final com . microsoft . azure . IDENT_2 . IDENT_5 IDENT_15 = METHOD_2 ( server ) ; if ( IDENT_15 == null ) { METHOD_6 ( ) . error ( ( ( com . microsoft . azure . maven . auth . METHOD_1 . IDENT_16 ) + IDENT_11 ) ) ; return null ; } final com . microsoft . azure . management . IDENT_17 . IDENT_18 auth = METHOD_3 ( ) . METHOD_4 ( IDENT_15 ) ; if ( auth != null ) { METHOD_6 ( ) . info ( ( ( com . microsoft . azure . maven . auth . METHOD_1 . IDENT_19 ) + IDENT_11 ) ) ; } return auth ; }
org . junit . Assert . assertSame ( IDENT_6 , auth )