public void ToString_Contains_Timestamp()
        {
            // Arrange
            var object1 = new SystemInformation
            {
                MachineName = Environment.MachineName,
                Timestamp = DateTime.UtcNow,
                SystemPerformance = new SystemPerformanceData()
            };

            // Act
            string result = object1.ToString();

            // Assert
            Assert.IsTrue(result.Contains(object1.Timestamp.ToString()));
        }
        public void ToString_Contains_SystemPerformance()
        {
            // Arrange
            string expectedString = "SystemPerformanceData";
            var systemPerformanceMock = new Mock<SystemPerformanceData>();
            systemPerformanceMock.Setup(s => s.ToString()).Returns(expectedString);

            var object1 = new SystemInformation
            {
                MachineName = Environment.MachineName,
                Timestamp = DateTime.UtcNow,
                SystemPerformance = new SystemPerformanceData()
            };

            // Act
            string result = object1.ToString();

            // Assert
            Assert.IsTrue(result.Contains(expectedString));
        }