METHOD_0 ( ) { java . io . InputStream IDENT_0 = new java . io . ByteArrayInputStream ( io . IDENT_1 . client . IDENT_2 . IDENT_3 . getBytes ( IDENT_4 . UTF_8 ) ) ; int IDENT_5 = io . IDENT_1 . client . IDENT_6 . METHOD_1 ( client , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( io . IDENT_1 . client . IDENT_7 , java . io . InputStream ) { try { java . lang . reflect . Type IDENT_8 = new com . google . gson . reflect . IDENT_9 < io . IDENT_1 . client . models . IDENT_10 > ( ) { } . getType ( ) ; java . lang . String body ; try ( final java . io . IDENT_11 reader = new java . io . METHOD_2 ( IDENT_0 ) ) { body = com . google . common . io . IDENT_12 . toString ( reader ) ; } io . IDENT_1 . client . models . IDENT_10 status = client . METHOD_3 ( ) . METHOD_4 ( body , IDENT_8 ) ; if ( status == null ) { return - 1 ; } if ( io . IDENT_1 . client . IDENT_13 . equals ( status . getStatus ( ) ) ) return 0 ; if ( io . IDENT_1 . client . IDENT_14 . equals ( status . METHOD_5 ( ) ) ) { io . IDENT_1 . client . models . IDENT_15 IDENT_16 = status . METHOD_6 ( ) ; if ( IDENT_16 != null ) { java . util . List < io . IDENT_1 . client . models . IDENT_17 > IDENT_18 = IDENT_16 . METHOD_7 ( ) ; if ( IDENT_18 != null ) { for ( io . IDENT_1 . client . models . IDENT_17 IDENT_19 : IDENT_18 ) { if ( io . IDENT_1 . client . IDENT_20 . equals ( IDENT_19 . METHOD_5 ( ) ) ) { try { return java . lang . Integer . METHOD_8 ( IDENT_19 . getMessage ( ) ) ; } catch ( java . lang . IDENT_21 IDENT_22 ) { io . IDENT_1 . client . IDENT_6 . log . error ( STRING_0 , IDENT_22 ) ; } } } } } } } catch ( java . lang . Throwable t ) { io . IDENT_1 . client . IDENT_6 . log . error ( STRING_0 , t ) ; } return - 1 ; }
org . junit . Assert . assertEquals ( 1 , IDENT_5 )