Ejemplo n.º 1
0
        public void Constructor_With_Array_Expected_InitializesWithArray()
        {
            var result = new DebugItemResult {
                GroupName = "Hello", Value = "world"
            };
            var item = new DebugItem();

            item.Add(result);
            Assert.AreEqual(1, item.FetchResultsList().Count);
            Assert.AreSame(result, item.FetchResultsList()[0]);
        }