public void TestCreateSinglePropertyBuilder() { const string Key = @"Name"; var recordBuilder = new SinglePropertyRecordBuilder(Key); IReferenceRecord record = new ReferenceRecord(); record = recordBuilder.BuildRecord(record, Key, string.Empty); Assert.AreEqual(1, record.Properties.Count, @"The property count does not match!"); Assert.AreEqual(string.Empty, record.Properties[Key], @"The property value does not match!"); const string Value = @"Alexanderplatz"; record = recordBuilder.BuildRecord(record, Key, Value); Assert.AreEqual(1, record.Properties.Count, @"The property count does not match!"); Assert.AreEqual(Value, record.Properties[Key], @"The property value does not match!"); }