public void FromDriveName_ReturnsNotNull()
        {
            var credentials = _fixture.ShareCredentials;

            _fixture.SMBCredentialProvider.AddSMBCredential(new SMBCredential(credentials.Domain, credentials.Username, credentials.Password, _fixture.RootPath, _fixture.SMBCredentialProvider));

            var smbDriveInfoFactory = new SMBDriveInfoFactory(_fileSystem, _fixture.SMBCredentialProvider, _fixture.SMBClientFactory, 65536);

            var shareInfo = smbDriveInfoFactory.FromDriveName(_fixture.ShareName);

            Assert.NotNull(shareInfo);
        }
        public void FromDriveName_WithDirectory_ReturnsNotNull()
        {
            var credentials = _fixture.ShareCredentials;
            var directory   = _fileSystem.Path.Combine(_fixture.RootPath, _fixture.Directories.First());

            _fixture.SMBCredentialProvider.AddSMBCredential(new SMBCredential(credentials.Domain, credentials.Username, credentials.Password, directory, _fixture.SMBCredentialProvider));

            var smbDriveInfoFactory = new SMBDriveInfoFactory(_fileSystem, _fixture.SMBCredentialProvider, _fixture.SMBClientFactory, 65536);

            var shareInfo = smbDriveInfoFactory.FromDriveName(directory);

            Assert.NotNull(shareInfo);
        }