public void ParseResult_should_return_nothing_empty_lines()
        {
            var lines   = new string[0];
            var unit    = new Platform.MacOSXSwversVersionFinder();
            var results = unit.ParseResult(lines).ToList();

            Assert.Empty(results);
        }
        public void ParseResult_should_generate_correct_result(string productName, string productVersion, string buildVersion, string expected)
        {
            var lines = new string[] {
                string.Format("ProductName:    {0}", productName),
                string.Format("ProductVersion: {0}", productVersion),
                string.Format("BuildVersion:   {0}", buildVersion),
            };
            var unit    = new Platform.MacOSXSwversVersionFinder();
            var results = unit.ParseResult(lines).ToList();

            Assert.Equal(expected, string.Join(" ", results));
            Assert.Equal("MacOSX", results[0].PlatformFamily);
        }