METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = new org . apache . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 ( ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_7 IDENT_8 = new org . apache . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 ( ) ; org . apache . http . client . methods . IDENT_9 IDENT_10 = mock ( org . apache . http . client . methods . IDENT_9 . class ) ; org . apache . http . IDENT_11 IDENT_12 = mock ( org . apache . http . IDENT_11 . class ) ; when ( IDENT_12 . METHOD_3 ( ) ) . thenReturn ( null ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . apache . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 , org . apache . http . client . methods . IDENT_9 , org . apache . http . IDENT_11 ) { java . util . Optional < java . lang . Object > IDENT_13 = java . util . Optional . empty ( ) ; if ( IDENT_12 != null ) { int IDENT_14 = 0 ; java . lang . String json = org . apache . http . util . IDENT_15 . toString ( IDENT_12 ) ; if ( ( json != null ) && ( ! ( json . isEmpty ( ) ) ) ) { IDENT_14 = json . length ( ) ; IDENT_13 = java . util . Optional . of ( IDENT_16 . INSTANCE . load ( json , IDENT_16 . IDENT_17 ) ) ; } if ( ( IDENT_8 . METHOD_5 ( ) ) && ( IDENT_14 != ( IDENT_12 . METHOD_6 ( ) ) ) ) { throw new java . io . IOException ( java . lang . String . format ( ( STRING_0 + STRING_1 ) , IDENT_10 . METHOD_7 ( ) . toString ( ) , IDENT_12 . METHOD_6 ( ) , IDENT_14 ) ) ; } } return IDENT_13 ; }
org . junit . Assert . assertEquals ( java . util . Optional . empty ( ) , IDENT_6 . METHOD_4 ( IDENT_8 , IDENT_10 , IDENT_12 ) )