public void GlobalSetup()
 {
     _compoundKey = new CompoundKey
     {
         Integer = new Random(42).Next(),
         String  = Guid.NewGuid().ToString("N")
     };
 }
 public void GlobalSetup()
 {
     _compoundKey = new CompoundKey
     {
         Integer = new Random(42).Next(),
         String  = Guid.NewGuid().ToString("N")
     };
     _compoundKeyObject    = _compoundKey;
     _compoundKeyCacheKeyA = _compoundKey;
     _compoundKeyCacheKeyB = _compoundKey;
     _integerObject        = _compoundKey.Integer;
     _integerCacheKeyA     = _compoundKey.Integer;
     _integerCacheKeyB     = _compoundKey.Integer;
     _stringObject         = _compoundKey.String;
     _stringCacheKeyA      = new CacheKeyA <CompoundKey>(_compoundKey.String);
     _stringCacheKeyB      = _compoundKey.String;
 }