public void Basic() { FeatureBuilder builder = new FeatureBuilder(); builder.AddFeature("a", "b"); builder.Build().ShouldDeepEqual(new Feature(new[] { "a", "b" })); builder.AddFeature("c"); builder.Build().ShouldDeepEqual(new Feature(new[] { "a", "b", "c" })); builder.RemoveFeature("c"); builder.Build().ShouldDeepEqual(new Feature(new[] { "a", "b" })); Assert.ThrowsException <Exception>(() => builder.AddFeature($"a{Feature.FeatureSeperator}b")); }