public void Merge_DoesNotMergeItself()
        {
            container.Add(new Alert());
            IEnumerable <Alert> alerts = container.ToArray();

            container.Merge(container);

            IEnumerable <Alert> actual   = container;
            IEnumerable <Alert> expected = alerts;

            Assert.Equal(expected, actual);
        }
Esempio n. 2
0
        public void Merge_DoesNotMergeItself()
        {
            container.Add(new Alert());
            IEnumerable alerts = container.ToArray();

            container.Merge(container);

            IEnumerable actual   = container;
            IEnumerable expected = alerts;

            CollectionAssert.AreEqual(expected, actual);
        }