METHOD_0 ( ) { final java . lang . String key = "foo" ; final org . apache . hc . IDENT_0 . http . cache . IDENT_1 value = org . apache . hc . IDENT_0 . http . impl . cache . IDENT_2 . METHOD_1 ( ) ; org . mockito . Mockito . when ( impl . METHOD_2 ( key ) ) . thenReturn ( "bar" ) ; org . mockito . Mockito . when ( impl . METHOD_3 ( org . mockito . IDENT_3 . eq ( "bar" ) , org . mockito . IDENT_3 . < org . apache . hc . core5 . concurrent . IDENT_4 < byte [ ] > > any ( ) ) ) . METHOD_4 ( new org . mockito . IDENT_5 . IDENT_6 < org . apache . hc . core5 . concurrent . IDENT_7 > ( ) { @ org . apache . hc . IDENT_0 . http . impl . cache . Override public org . apache . hc . core5 . concurrent . IDENT_7 METHOD_5 ( final org . mockito . IDENT_8 . IDENT_9 IDENT_8 ) throws java . lang . Throwable { final org . apache . hc . core5 . concurrent . IDENT_4 < byte [ ] > IDENT_10 = IDENT_8 . METHOD_6 ( 1 ) ; IDENT_10 . METHOD_7 ( org . apache . hc . IDENT_0 . http . impl . cache . IDENT_11 . serialize ( key , value ) ) ; return IDENT_12 ; } } ) ; impl . METHOD_8 ( key , IDENT_13 ) ; final org . mockito . IDENT_14 < org . apache . hc . IDENT_0 . http . cache . IDENT_1 > IDENT_15 = org . mockito . IDENT_14 . METHOD_9 ( org . apache . hc . IDENT_0 . http . cache . IDENT_1 . class ) ; org . mockito . Mockito . verify ( IDENT_13 ) . METHOD_7 ( IDENT_15 . METHOD_10 ( ) ) ; final org . apache . hc . IDENT_0 . http . cache . IDENT_1 IDENT_16 = IDENT_15 . getValue ( ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( impl ) . METHOD_3 ( org . mockito . IDENT_3 . eq ( "bar" ) , org . mockito . IDENT_3 . < org . apache . hc . core5 . concurrent . IDENT_4 < byte [ ] > > any ( ) ) ; } METHOD_11 ( org . apache . hc . IDENT_0 . http . cache . IDENT_1 ) { return new org . apache . hc . IDENT_0 . http . impl . cache . METHOD_12 ( target ) ; }
org . junit . Assert . assertThat ( IDENT_16 , org . apache . hc . IDENT_0 . http . impl . cache . METHOD_12 . METHOD_11 ( value ) )