@Test
	public void testAddWhileQuery1() {
		Bag<Integer> myList = new Bag<Integer>();		

		myList.add(1);
		myList.add(2);
		
		myList.reset();
		assertTrue(myList.hasNext());
		int x = myList.next();
		assertTrue(x == 1 || x == 2);
		myList.add(3);
		assertTrue(myList.hasNext());
		int y = myList.next();
		assertTrue(x != y && (y == 1 || y == 2 || y == 3));
		
		assertTrue(myList.hasNext());
		int z = myList.next();
		assertTrue(z != y && z != x && (z == 1 || z == 2 || z == 3));
		assertFalse(myList.hasNext());
	}