Example #1
0
        public void UAClientIsBot(string ua)
        {
            ParseController parseCRL = new ParseController();

            parseCRL.SetUA(ua);

            var result = parseCRL.ParseUA();

            Assert.True(result.IsBot);
        }
Example #2
0
        public void UADeviceIsMobile(string ua)
        {
            ParseController parseCRL = new ParseController();

            parseCRL.SetUA(ua);

            var result = parseCRL.ParseUA();

            Assert.True(result.Device.IsMobile);
        }