public void GetEnvironmentInfoArgs_NullArgs()
        {
            var result = PiwikDataConverter.GetEnvironmentInfoArgs(null);

            Assert.IsNotNull(result);
            Assert.IsFalse(result.Any());
        }
        public void GetEnvironmentInfoArgs_MinimalArgs()
        {
            var info = new PiwikEnvironmentInfo();

            var result = PiwikDataConverter.GetEnvironmentInfoArgs(info);

            Assert.IsNotNull(result);
            Assert.IsFalse(result.Any());
        }
        public void GetEnvironmentInfoArgs_AllArgs()
        {
            var info = new PiwikEnvironmentInfo()
            {
                DeviceName      = "device name",
                DeviceType      = "device type",
                OperatingSystem = "operating system",
                DeviceScreen    = new PiwikScreenResolution()
                {
                    Height = 1230,
                    Width  = 4560,
                    Dpi    = 789
                }
            };

            var result = PiwikDataConverter.GetEnvironmentInfoArgs(info);

            Assert.IsNotNull(result);
            AssertEqual(result, new[] { "res=4560x1230" });
        }