private void addTestFruits() {
		int maxCount;
		double random;
		Machine m;
		BufferMachine bm;
		Iterator<Machine> i = productionLine.iterator();
		while (i.hasNext()) {
			m = i.next();
			if (m instanceof BufferMachine) bm = (BufferMachine)m;
			else continue;
			
			if (m instanceof HoldingBay) maxCount = 49;
			else if (m instanceof ConveyorBelt) maxCount = 6;
			else maxCount = 1;
			
			for (int j = 0; j < maxCount; j++) {
				random = Math.random();
				if (random <= 0.333) bm.addInventory(new Apple());
				else if (random <= 0.666) bm.addInventory(new Banana());
				else bm.addInventory(new Pear());
			}
		}
	}