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

EscapeSlashCharacter() private method

private EscapeSlashCharacter ( ) : void
return void
        public void EscapeSlashCharacter()
        {
            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);
        }