public void Return_a_list_containing_all_items()
        {
            var ko1A = new KeyObject("123");
            var ko2A = new KeyObject("456");
            var ko3A = new KeyObject("321");

            var list1 = new List <KeyObject>()
            {
                ko1A, ko2A, ko3A
            };
            var listOfKeyObjects = new ListOfKeyObjects(list1);

            Check.That(listOfKeyObjects.ToList()).ContainsExactly(list1);
        }
        public void Return_a_list_containing_original_instances_of_KeyObject_not_copies()
        {
            var ko1A = new KeyObject("123");
            var ko2A = new KeyObject("456");
            var ko3A = new KeyObject("321");

            var list1 = new List <KeyObject>()
            {
                ko1A, ko2A, ko3A
            };
            var listOfKeyObjects = new ListOfKeyObjects(list1);
            var list2            = listOfKeyObjects.ToList();

            Check.That(ko1A).IsEqualTo(list2[0]).And.IsSameReferenceAs(list2[0]);
        }