public int getWikiPrice(ItemPrice itemPrice)
	{
		final int wikiPrice = itemPrice.getWikiPrice();
		final int jagPrice = itemPrice.getPrice();
		if (wikiPrice <= 0)
		{
			return jagPrice;
		}
		if (wikiPrice <= lowPriceThreshold)
		{
			return wikiPrice;
		}
		return wikiPrice < jagPrice * activePriceThreshold ? wikiPrice : jagPrice;
	}
@Test
	public void testGetWikiPrice()
	{
		ItemPrice itemPrice = new ItemPrice();
		itemPrice.setId(ItemID.YEW_SEED);
		itemPrice.setName("Yew seed");
		itemPrice.setPrice(47_975);
		itemPrice.setWikiPrice(50_754);
		assertEquals(itemPrice.getWikiPrice(), itemManager.getWikiPrice(itemPrice));

		itemPrice.setWikiPrice(300_000); // outside of 5x range
		assertEquals(itemPrice.getPrice(), itemManager.getWikiPrice(itemPrice));
	}