Esempio n. 1
0
        public void CanClone_Collection()
        {
            DetailCollection collection = new DetailCollection();
            collection.Add("hello");

            DetailCollection cloned = collection.Clone();
            Assert.That(cloned.Contains("hello"));
        }
Esempio n. 2
0
        public void ClonedCollection_IdentifierIsCleared()
        {
            DetailCollection collection = new DetailCollection();

            collection.Add("hello");

            DetailCollection cloned = collection.Clone();

            Assert.That(cloned.ID, Is.EqualTo(0));
        }
Esempio n. 3
0
        public void CanClone_Collection()
        {
            DetailCollection collection = new DetailCollection();

            collection.Add("hello");

            DetailCollection cloned = collection.Clone();

            Assert.That(cloned.Contains("hello"));
        }
Esempio n. 4
0
		public void ClonedCollection_IdentifierIsCleared()
		{
			DetailCollection collection = new DetailCollection();
			collection.Add("hello");

			DetailCollection cloned = collection.Clone();
			Assert.That(cloned.ID, Is.EqualTo(0));
		}