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

            DetailCollection cloned = collection.Clone();
            Assert.That(cloned.Contains("hello"));
        }
Exemplo 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));
        }
Exemplo n.º 3
0
        public void CanClone_Collection()
        {
            DetailCollection collection = new DetailCollection();

            collection.Add("hello");

            DetailCollection cloned = collection.Clone();

            Assert.That(cloned.Contains("hello"));
        }
Exemplo 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));
		}