fixed SPRNET-1259

This commit is contained in:
eeichinger
2009-10-14 18:09:22 +00:00
parent f00f3afcc3
commit 0e716ecfa0
7 changed files with 335 additions and 243 deletions

View File

@@ -375,14 +375,13 @@ namespace Spring.Aspects.Cache
private void ExpectAttributeRetrieval( MethodInfo method )
{
mockInvocation.ExpectAndReturn( "Method", method );
mockInvocation.ExpectAndReturn( "Method", method );
mockInvocation.SetValue( "Method", method );
}
private void ExpectCacheKeyGeneration( MethodInfo method, params object[] arguments )
{
mockInvocation.ExpectAndReturn( "Method", method );
mockInvocation.ExpectAndReturn( "Arguments", arguments );
// mockInvocation.ExpectAndReturn( "Method", method );
mockInvocation.SetValue( "Arguments", arguments );
}
private void ExpectCacheInstanceRetrieval( string cacheName, ICache cache )