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 ( IDENT_2 . IDENT_3 ) ; com . google . cloud . tools . IDENT_4 . registry . json . IDENT_5 IDENT_6 = new com . google . cloud . tools . IDENT_4 . registry . json . METHOD_1 ( ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( com . google . cloud . tools . IDENT_4 . IDENT_7 . IDENT_8 . METHOD_3 ( com . google . cloud . tools . IDENT_4 . json . IDENT_9 . METHOD_4 ( IDENT_6 ) ) ) ; try { IDENT_10 . METHOD_5 ( IDENT_1 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( com . google . api . client . http . IDENT_0 ex ) { "<AssertPlaceHolder>" ; } } METHOD_5 ( com . google . api . client . http . IDENT_0 ) { if ( ( IDENT_11 . getStatusCode ( ) ) != ( com . google . api . client . http . IDENT_2 . IDENT_12 ) ) { throw IDENT_11 ; } java . lang . String IDENT_13 = IDENT_11 . METHOD_6 ( ) . METHOD_7 ( ) ; if ( IDENT_13 == null ) { throw new com . google . cloud . tools . IDENT_4 . registry . METHOD_8 ( METHOD_9 ( ) , IDENT_11 ) . METHOD_10 ( STRING_1 ) . build ( ) ; } try { return com . google . cloud . tools . IDENT_4 . registry . IDENT_14 . METHOD_11 ( IDENT_13 , IDENT_15 , IDENT_16 ) ; } catch ( com . google . cloud . tools . IDENT_4 . registry . IDENT_17 ex ) { throw new com . google . cloud . tools . IDENT_4 . registry . METHOD_8 ( METHOD_9 ( ) , ex ) . METHOD_10 ( STRING_2 ) . build ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_1 , ex )