private void AssertDictionaryNoException(DictionaryCaller callMe)
{
try
{
callMe.Invoke(_testOld);
}
catch (Exception e)
{
Assert.Fail("Original dictionary threw an exception: " + e);
}
try
{
callMe.Invoke(_testChecked);
}
catch (Exception e)
{
Assert.Fail("Checked dictionary threw an exception: " + e);
}
}