﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Tests.Common;
using System;

namespace Renci.SshNet.Tests.Classes
{
    /// <summary>
    /// Holds information about key size and cipher to use
    /// </summary>
    [TestClass]
    public class CipherInfoTest : TestBase
    {
        /// <summary>
        ///A test for CipherInfo Constructor
        ///</summary>
        [TestMethod()]
        public void CipherInfoConstructorTest()
        {
            int keySize = 0; // TODO: Initialize to an appropriate value
            Func<byte[], byte[], BlockCipher> cipher = null; // TODO: Initialize to an appropriate value
            CipherInfo target = new CipherInfo(keySize, cipher);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Tests.Common;
using System;

namespace Renci.SshNet.Tests.Classes
{
    /// <summary>
    /// Holds information about key size and cipher to use
    /// </summary>
    [TestClass]
    public class CipherInfoTest : TestBase
    {
        /// <summary>
        ///A test for CipherInfo Constructor
        ///</summary>
        [TestMethod()]
        public void CipherInfoConstructorTest()
        {
            int keySize = 0; // TODO: Initialize to an appropriate value
            Func<byte[], byte[], Cipher> cipher = null; // TODO: Initialize to an appropriate value
            CipherInfo target = new CipherInfo(keySize, cipher);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
Fix build when targeting .NET Framework 3.5 as Func only supports covariance on .NET Framework 4.0 and higher.
Fix build when targeting .NET Framework 3.5 as Func only supports covariance on .NET Framework 4.0 and higher.