METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_2 ( ) ) . thenReturn ( STRING_0 ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_3 ( ) ) . thenReturn ( STRING_1 ) ; org . mockito . Mockito . when ( IDENT_1 . getStatusCode ( ) ) . thenReturn ( ( - 1 ) ) ; org . mockito . Mockito . METHOD_4 ( IDENT_0 ) . when ( IDENT_2 ) . METHOD_5 ( IDENT_3 ) ; try { IDENT_4 . build ( IDENT_2 , IDENT_3 , IDENT_5 , com . google . cloud . tools . IDENT_6 . plugins . common . IDENT_7 . IDENT_8 ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( com . google . cloud . tools . IDENT_6 . plugins . common . IDENT_9 ex ) { "<AssertPlaceHolder>" ; } } METHOD_6 ( java . lang . String , java . lang . String ) { com . google . common . base . IDENT_10 . METHOD_7 ( IDENT_11 ) ; com . google . common . base . IDENT_10 . METHOD_7 ( IDENT_12 ) ; if ( ( ( IDENT_13 ) && ( registry . equals ( IDENT_11 . METHOD_2 ( ) ) ) ) && ( repository . equals ( IDENT_11 . METHOD_3 ( ) ) ) ) { return METHOD_8 ( IDENT_14 , IDENT_15 . apply ( registry ) ) ; } if ( ( ( IDENT_16 ) && ( registry . equals ( IDENT_12 . METHOD_2 ( ) ) ) ) && ( repository . equals ( IDENT_12 . METHOD_3 ( ) ) ) ) { return METHOD_8 ( IDENT_17 , IDENT_18 . apply ( registry ) ) ; } return METHOD_9 ( registry ) ; }
org . junit . Assert . assertEquals ( com . google . cloud . tools . IDENT_6 . plugins . common . IDENT_7 . IDENT_8 . METHOD_6 ( STRING_0 , STRING_1 ) , ex . getMessage ( ) )