METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( 1 ) ; when ( IDENT_0 . METHOD_2 ( ) ) . thenReturn ( IDENT_1 . IDENT_2 . IDENT_3 ) ; com . IDENT_4 . IDENT_5 . pool . IDENT_6 < com . IDENT_4 . IDENT_5 . pool . IDENT_7 . IDENT_8 > cache = METHOD_3 ( ) ; cache . METHOD_4 ( com . IDENT_4 . IDENT_5 . pool . IDENT_7 . IDENT_9 ) ; cache . METHOD_4 ( com . IDENT_4 . IDENT_5 . pool . IDENT_7 . IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( com . IDENT_4 . IDENT_5 . IDENT_10 ) { METHOD_6 ( IDENT_11 ) ; return IDENT_12 . METHOD_7 ( IDENT_11 ) ; }
org . junit . Assert . assertEquals ( 2 , cache . METHOD_5 ( com . IDENT_4 . IDENT_5 . pool . IDENT_7 . IDENT_9 ) )