METHOD_0 ( ) { com . google . api . client . http . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( com . google . api . client . http . IDENT_0 . class ) ; org . mockito . Mockito . when ( IDENT_1 . getStatusCode ( ) ) . thenReturn ( ( - 1 ) ) ; try { IDENT_2 . METHOD_1 ( IDENT_1 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( com . google . api . client . http . IDENT_0 ex ) { "<AssertPlaceHolder>" ; } } METHOD_1 ( com . google . api . client . http . IDENT_0 ) { if ( ( IDENT_3 . getStatusCode ( ) ) != ( com . google . api . client . http . IDENT_4 . IDENT_5 ) ) { throw IDENT_3 ; } java . lang . String IDENT_6 = IDENT_3 . METHOD_2 ( ) . METHOD_3 ( ) ; if ( IDENT_6 == null ) { throw new com . google . cloud . tools . IDENT_7 . registry . METHOD_4 ( METHOD_5 ( ) , IDENT_3 ) . METHOD_6 ( STRING_1 ) . build ( ) ; } try { return com . google . cloud . tools . IDENT_7 . registry . IDENT_8 . METHOD_7 ( IDENT_6 , IDENT_9 , IDENT_10 ) ; } catch ( com . google . cloud . tools . IDENT_7 . registry . IDENT_11 ex ) { throw new com . google . cloud . tools . IDENT_7 . registry . METHOD_4 ( METHOD_5 ( ) , ex ) . METHOD_6 ( STRING_2 ) . build ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_1 , ex )