public void Should_be_possible_get_system_informations_about_the_primaryHostName()
        {
            var expectedPrimaryHostname = GetExpectedSystemInformation().PrimaryHostName;
            var systemInfo = new WindowsSystemInformationCollector(WmiDataProvider).GetSystemInformation();

            Assert.AreEqual(expectedPrimaryHostname, systemInfo.PrimaryHostName, "This primary hostname property is not expected.");
        }
        public void Should_be_get_system_informations_about_the_networkInterfaces()
        {
            var expectedSystemInfo = this.GetExpectedSystemInformation();

            var systemInfo = new WindowsSystemInformationCollector(WmiDataProvider).GetSystemInformation();

            Assert.AreEqual(expectedSystemInfo.Interfaces.Count(), systemInfo.Interfaces.Count(), "the amount of network interfaces is not expected");
            Assert.AreEqual(expectedSystemInfo.Interfaces[0], systemInfo.Interfaces[0], "the network interfaces property is not expected");
        }
        public void Should_be_possible_get_system_informations_about_the_operationalSystem()
        {
            var expectedSystemInfo = this.GetExpectedSystemInformation();

            var systemInfo = new WindowsSystemInformationCollector(WmiDataProvider).GetSystemInformation();

            Assert.AreEqual(expectedSystemInfo.SystemName, systemInfo.SystemName, "the system name is not expected");
            Assert.AreEqual(expectedSystemInfo.SystemVersion, systemInfo.SystemVersion, "the system version is not expected");
            Assert.AreEqual(expectedSystemInfo.Architecture, systemInfo.Architecture, "the architecture is not expected");
        }
        public void Should_be_possible_to_get_system_informations_of_windows_plataform()
        {
            var systemInfo = new WindowsSystemInformationCollector(WmiDataProvider).GetSystemInformation();

            Assert.AreEqual(GetExpectedSystemInformation(), systemInfo, "This system info is not expected.");
        }