METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( 200 ) ; when ( IDENT_0 . METHOD_2 ( ) ) . thenReturn ( this . getClass ( ) . getResourceAsStream ( STRING_0 ) ) ; final com . IDENT_1 . api . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = models . get ( ) . execute ( ) ; final com . IDENT_1 . api . IDENT_2 . IDENT_3 . IDENT_4 IDENT_6 = new com . IDENT_1 . api . IDENT_2 . IDENT_3 . METHOD_3 ( ) . setId ( 1 ) . setName ( STRING_1 ) . METHOD_4 ( false ) . METHOD_5 ( true ) . METHOD_6 ( new java . util . Date ( INT_0 ) ) . METHOD_7 ( 2 ) ; "<AssertPlaceHolder>" ; } execute ( ) { try { java . lang . String url = METHOD_8 ( ) ; java . net . IDENT_7 IDENT_8 = ( ( java . net . IDENT_7 ) ( IDENT_9 . METHOD_9 ( url ) ) ) ; IDENT_8 . METHOD_10 ( method . name ( ) ) ; if ( config . METHOD_11 ( ) . METHOD_12 ( ) ) { IDENT_8 . METHOD_13 ( STRING_2 , config . METHOD_11 ( ) . get ( ) ) ; } IDENT_8 . METHOD_13 ( STRING_3 , STRING_4 ) ; java . lang . String IDENT_10 = STRING_5 + ( javax . xml . IDENT_11 . IDENT_12 . METHOD_14 ( ( ( ( config . METHOD_15 ( ) ) + STRING_6 ) + ( config . METHOD_16 ( ) ) ) . getBytes ( java . nio . IDENT_13 . IDENT_14 . METHOD_17 ( STRING_7 ) ) ) ) ; IDENT_8 . METHOD_13 ( STRING_8 , IDENT_10 ) ; if ( ( method ) == ( com . IDENT_1 . api . IDENT_2 . IDENT_15 . Method . IDENT_16 ) ) { IDENT_8 . METHOD_18 ( true ) ; java . lang . Object content = METHOD_19 ( ) ; if ( content != null ) { try ( java . io . IDENT_17 IDENT_18 = new java . io . METHOD_20 ( IDENT_8 . METHOD_21 ( ) ) ) { com . IDENT_1 . api . IDENT_2 . IDENT_15 . IDENT_19 . METHOD_22 ( this . getClass ( ) ) . METHOD_23 ( IDENT_18 , content ) ; } } else { IDENT_8 . METHOD_24 ( 0 ) ; } } log . debug ( ( ( ( STRING_9 + ( method ) ) + STRING_10 ) + url ) ) ; int IDENT_20 = 0 ; try { IDENT_20 = IDENT_8 . METHOD_1 ( ) ; } catch ( java . io . IOException e ) { IDENT_20 = IDENT_8 . METHOD_1 ( ) ; } log . debug ( ( STRING_9 0 + IDENT_20 ) ) ; if ( IDENT_20 != ( java . net . IDENT_7 . IDENT_21 ) ) { try ( java . io . InputStream IDENT_22 = IDENT_8 . METHOD_25 ( ) ) { com . IDENT_1 . api . IDENT_2 . IDENT_23 . Builder IDENT_24 = new com . IDENT_1 . api . IDENT_2 . IDENT_23 . Builder ( ) . METHOD_26 ( IDENT_20 ) ; if ( IDENT_22 == null ) { throw IDENT_24 . METHOD_27 ( STRING_11 ) . build ( ) ; } throw com . IDENT_1 . api . IDENT_2 . IDENT_15 . IDENT_19 . METHOD_28 ( IDENT_24 ) . < com . IDENT_1 . api . IDENT_2 . IDENT_23 . Builder > METHOD_29 ( new java . io . METHOD_30 ( IDENT_22 ) ) . build ( ) ; } } try ( java . io . InputStream IDENT_25 = new java . io . METHOD_30 ( IDENT_8 . METHOD_2 ( ) ) ) { java . lang . Object IDENT_26 = METHOD_31 ( ) ; if ( ( IDENT_27 ) != null ) { if ( ( IDENT_27 ) == ( java . lang . IDENT_28 . class ) ) { return null ; } if ( IDENT_26 != null ) { return com . IDENT_1 . api . IDENT_2 . IDENT_15 . IDENT_19 . reader ( IDENT_27 ) . with ( new com . fasterxml . jackson . databind . IDENT_29 . METHOD_32 ( ) . METHOD_33 ( IDENT_27 . toString ( ) , IDENT_26 ) ) . METHOD_29 ( IDENT_25 ) ; } return com . IDENT_1 . api . IDENT_2 . IDENT_15 . IDENT_19 . METHOD_29 ( IDENT_25 , IDENT_27 ) ; } else { if ( IDENT_26 != null ) { java . lang . String IDENT_30 = IDENT_31 . getType ( ) . toString ( ) ; if ( ( IDENT_31 . getType ( ) ) instanceof java . lang . reflect . IDENT_32 ) { java . lang . reflect . Type [ ] IDENT_33 = ( ( java . lang . reflect . IDENT_32 ) ( IDENT_31 . getType ( ) ) ) . METHOD_34 ( ) ; if ( ( ( IDENT_33 . length ) == 1 ) && ( ( IDENT_33 [ 0 ] ) instanceof java . lang . Class < ? > ) ) { IDENT_30 = IDENT_33 [ 0 ] . toString ( ) ; } } return com . IDENT_1 . api . IDENT_2 . IDENT_15 . IDENT_19 . reader ( IDENT_31 ) . with ( new com . fasterxml . jackson . databind . IDENT_29 . METHOD_32 ( ) . METHOD_33 ( IDENT_30 , IDENT_26 ) ) . METHOD_29 ( IDENT_25 ) ; } return com . IDENT_1 . api . IDENT_2 . IDENT_15 . IDENT_19 . METHOD_29 ( IDENT_25 , IDENT_31 ) ; } } } catch ( java . net . IDENT_34 e ) { throw new java . lang . RuntimeException ( e ) ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } }
org . junit . Assert . assertEquals ( IDENT_6 , IDENT_5 )