Пример #1
0
        public void Producer_EqualsProducerDifferentSICCodes_ReturnsFalse()
        {
            var sicCodes1 = new List <SICCode>()
            {
                new SICCode("SIC Code name 1"), new SICCode("SIC Code name 2")
            };
            var sicCodes2 = new List <SICCode>()
            {
                new SICCode("SIC Code name 3"), new SICCode("SIC Code name 1")
            };

            var producer  = ProducerBuilder.WithSICCodes(sicCodes1);
            var producer2 = ProducerBuilder.WithSICCodes(sicCodes2);

            Assert.NotEqual(producer, producer2);
        }