public void ExistingPropertyValuesShouldBeRewritten(PropertyValueCollection collection) { // Fixture setup collection.SetValues(DirectoryProperty.Member, new object[] { john, paul }); // Exercise system collection.SetValues(DirectoryProperty.Member, new object[] { john, paul, ringo }); // Verify outcome collection.GetValues <DN>(DirectoryProperty.Member) .Should().BeEquivalentTo(john, paul, ringo); }
public void ManyPropertyValuesShouldBeSet(PropertyValueCollection collection) { // Fixture setup // Exercise system collection.SetValues(DirectoryProperty.Member, new object[] { john, paul }); // Verify outcome collection[DirectoryProperty.Member].Should().BeEquivalentTo(john, paul); }