public void DoValidateNPutsOtherType(int n, int otherType) { IRegion <object, object> region = CacheHelper.GetVerifyRegion <object, object>(RegionNames[0]); for (int i = 0; i < n; i++) { object val = region[i + 10]; ISerializable ot = CreateOtherType(i, otherType); Assert.IsTrue(ot.Equals(val), "Found unexpected value"); } }