public void PropertyDistinguishedNameIsValid() { // Act. ChangeModDn sut = new ChangeModDn(DistinguishedName, NewRdn, false, null); // Assert. Assert.Equal(DistinguishedName, sut.DistinguishedName); }
public void ShouldProcessNewSuperior() { // Act. ChangeModDn sut = new ChangeModDn(DistinguishedName, null, true, NewSuperior); // Assert. Assert.Equal(Rdn, sut.NewRdn); Assert.True(sut.DeleteOldRdn); Assert.Equal(NewSuperior, sut.NewSuperior); Assert.Equal(DumpNewSuperior, sut.Dump()); }