public void TestProperties()
        {
            var mod = new GetMacModule();

            Assert.True(mod.ColumnHeaderEnabled);

            mod.ColumnHeaderEnabled = false;
            Assert.False(mod.ColumnHeaderEnabled);

            Assert.False(mod.Verbose);
            mod.Verbose = true;
            Assert.True(mod.Verbose);

            Assert.AreEqual(0, mod.ExitCode);
            Assert.False(mod.IsRunning);

            Assert.AreEqual(GetMacOutputFormat.Table, mod.OutputFormat);
            mod.OutputFormat = GetMacOutputFormat.CSV;
            Assert.AreEqual(GetMacOutputFormat.CSV, mod.OutputFormat);

            Assert.Null(mod.RemoteHost);
            mod.RemoteHost = new IPHostEntry();
            Assert.NotNull(mod.RemoteHost);

            Assert.Null(mod.RemoteHostCredentials);
            mod.RemoteHostCredentials = new NetworkCredential();
            Assert.NotNull(mod.RemoteHostCredentials);

            Assert.False(mod.WasCancelled);
            Assert.False(mod.IsRunning);
            Assert.AreEqual(0, mod.ExitCode);

            mod.Dispose();
        }
        public void CanConstructAndDestruct()
        {
            var mod = new GetMacModule();

            Assert.False(mod.IsDisposed);

            mod.Dispose();
            Assert.True(mod.IsDisposed);
        }