public void LookupClientSettings_Equal(LookupClientOptions options)
        {
            var opt  = new LookupClientSettings(options);
            var opt2 = new LookupClientSettings(options);

            Assert.StrictEqual(opt, opt2);

            // typed overload
            Assert.True(opt.Equals(opt2));

            // object overload
            Assert.True(opt.Equals((object)opt2));
        }
        public void LookupClientSettings_Equals_Null()
        {
            var opt = new LookupClientSettings(new LookupClientOptions()
            {
                AutoResolveNameServers = false
            });

            // typed overload
            Assert.False(opt.Equals((LookupClientSettings)null));

            // object overload
            Assert.False(opt.Equals((object)null));
        }
        public void LookupClientSettings_Equals_Ref()
        {
            var opt = new LookupClientSettings(new LookupClientOptions()
            {
                AutoResolveNameServers = false
            });

            // typed overload
            Assert.True(opt.Equals(opt));

            // object overload
            Assert.True(opt.Equals((object)opt));
        }
        public void LookupClientSettings_NotEqual(LookupClientOptions otherOptions)
        {
            var opt = new LookupClientSettings(new LookupClientOptions()
            {
                AutoResolveNameServers = false
            });
            var opt2 = new LookupClientSettings(otherOptions);

            Assert.NotStrictEqual(opt, opt2);

            // typed overload
            Assert.False(opt.Equals(opt2));

            // object overload
            Assert.False(opt.Equals((object)opt2));
        }