size ( ) { int size = 3 ; doReturn ( size ) . when ( client ) . METHOD_0 ( ) ; int IDENT_0 = cache . size ( ) ; "<AssertPlaceHolder>" ; } size ( ) { int size = 100 ; byte [ ] bytes = new byte [ size ] ; random . METHOD_1 ( bytes ) ; java . lang . Object object = new java . lang . Object ( ) ; doReturn ( null ) . when ( IDENT_1 ) . get ( object ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . store ( bytes ) ; doReturn ( bytes ) . when ( serializer ) . serialize ( object ) ; doReturn ( null ) . when ( IDENT_1 ) . put ( object , IDENT_2 ) ; doReturn ( 1 ) . when ( IDENT_1 ) . size ( ) ; cache . put ( object , object ) ; verify ( IDENT_1 ) . put ( object , IDENT_2 ) ; org . junit . Assert . assertEquals ( 1 , cache . size ( ) ) ; verify ( IDENT_1 ) . size ( ) ; }
org . junit . Assert . assertEquals ( size , IDENT_0 )