Affecto.ActiveDirectoryService.Tests.AdDomainPathHandlerTests.EscapeDoubleSlashCharacter C# (CSharp) Method

EscapeDoubleSlashCharacter() private method

private EscapeDoubleSlashCharacter ( ) : void
return void
        public void EscapeDoubleSlashCharacter()
        {
            var escapedPath = AdDomainPathHandler.Escape("CN=Teppo// Testaaja//,OU=CAMA2,OU=ECM,DC=dev,DC=local");
            Assert.AreEqual(@"CN=Teppo\/\/ Testaaja\/\/,OU=CAMA2,OU=ECM,DC=dev,DC=local", escapedPath);
        }