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 ( ) ; when ( impl . METHOD_2 ( key ) ) . thenReturn ( "bar" ) ; when ( impl . METHOD_3 ( "bar" ) ) . thenReturn ( org . apache . hc . IDENT_0 . http . impl . cache . IDENT_3 . serialize ( key , value ) ) ; final org . apache . hc . IDENT_0 . http . cache . IDENT_1 IDENT_4 = impl . METHOD_4 ( key ) ; verify ( impl ) . METHOD_3 ( "bar" ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . apache . hc . IDENT_0 . http . cache . IDENT_1 ) { return new org . apache . hc . IDENT_0 . http . impl . cache . METHOD_6 ( target ) ; }
org . junit . Assert . assertThat ( IDENT_4 , org . apache . hc . IDENT_0 . http . impl . cache . METHOD_6 . METHOD_5 ( value ) )