public void TestRemove() { ICollection <ErrorMessage> collection = new ErrorMessageCollection(); collection.Remove(null); }