Beispiel #1
0
        public void UniqueProperty_IfDeparturesUniqueListCountMoreTnanOne_ThrowException()
        {
            unsortedList.Add(new TravelCard {
                Departure = "Лондон", Arrival = "Кельн"
            });
            var individualPropertyList = _build.IndividualPropertyList("Departure");

            Assert.That(() => _build.UniqueProperty(listOfStrings, "Departure"), Throws.Exception);
        }