public void RemoveTest() { var target = new MockExceptionDictionary(); Assert.Throws <Exception>(() => target.Remove(2), "RemoveItem"); }
public void IndexerTest() { var target = new MockExceptionDictionary(); Assert.Throws <Exception>(() => target[2] = 2, "SetItem"); }
public void ClearTest() { var target = new MockExceptionDictionary(); Assert.Throws <Exception>(() => target.Clear(), "ClearItems"); }
public void RemoveTest() { var target = new MockExceptionDictionary(); target.Remove(2); }
public void IndexerTest() { var target = new MockExceptionDictionary(); target[2] = 2; }
public void ClearTest() { var target = new MockExceptionDictionary(); target.Clear(); }