public void RemoveField() { var record = new RecordSchema("TestRecord"); var field = new RecordSchema.Field("TestField"); record.Add(field); Assert.IsFalse(record.Remove("X")); Assert.IsTrue(record.Remove(field.Name)); Assert.IsEmpty(record); }