public void RemovesProp() { using (var temp = new TempDirectory()) { var memory = new FileMnemonic(temp.Value().FullName); var comb = new FileComb("my-comb", memory); comb.Props().Refined("name", "value", "value2"); comb.Props().Refined("name"); Assert.Empty( comb.Props().Names() ); } }
public void HasArrayProps() { using (var temp = new TempDirectory()) { var memory = new FileMnemonic(temp.Value().FullName); var comb = new FileComb("my-comb", memory); comb.Props().Refined("name", "value", "value2"); Assert.Equal( new ManyOf("value", "value2"), comb.Props().Values("name") ); } }