private string Aggregate(PropertyMetadataCollection properties) => properties.Select(p => p.Name).Aggregate((_1, _2) => _1 + "," + _2);
private void AssertProperties(PropertyMetadataCollection collection, params string[] properties) { var names = collection.Select(p => p.Name).ToArray(); names.Should().BeEquivalentTo(properties); }