public void Test_GetConnectionReturnsMFilesServerConnection()
        {
            MFilesConnectionBuilder serverConfig = new MFilesConnectionBuilder();
            var actual = serverConfig.GetConnection();

            Assert.IsInstanceOfType(actual, typeof(MFilesServerConnection));
        }
        public void Test_GetConnectionCopiesValues()
        {
            MFilesConnectionBuilder serverConfig = new MFilesConnectionBuilder
            {
                AuthType         = MFilesAuthType.SpecificMFilesUser,
                UserName         = "******",
                Password         = "******",
                Domain           = "LazarusLongBoardingSchool",
                ProtocolSequence = MFilesProtocolSequence.ncacn_spx,
                ServerName       = "BEHEMOTH.lazaruslongboardingschool.local",
                EndPoint         = "Drive55"
            };
            var connection = serverConfig.GetConnection();

            Assert.AreEqual(serverConfig.AuthType, connection.AuthType);
            Assert.AreEqual(serverConfig.UserName, connection.UserName);
            Assert.AreEqual(serverConfig.Password, connection.Password);
            Assert.AreEqual(serverConfig.Domain, connection.Domain);
            Assert.AreEqual(serverConfig.ProtocolSequence, connection.ProtocolSequence);
            Assert.AreEqual(serverConfig.ServerName, connection.ServerName);
            Assert.AreEqual(serverConfig.EndPoint, connection.EndPoint);
        }