@Override
	public Boolean load(@Nonnull final NamedQuantity key)
	{
		if (Strings.isNullOrEmpty(key.getName()))
		{
			return false;
		}

		final String filteredName = key.getName().trim();

		for (final ItemThreshold entry : itemThresholds)
		{
			if (WildcardMatcher.matches(entry.getItemName(), filteredName)
				&& entry.quantityHolds(key.getQuantity()))
			{
				return true;
			}
		}

		return false;
	}
@Test
	public void testLoadItems()
	{
		WildcardMatchLoader loader = new WildcardMatchLoader(Arrays.asList("rune*", "Abyssal whip"));
		assertTrue(loader.load(new NamedQuantity("rune pouch", 1)));
		assertTrue(loader.load(new NamedQuantity("Rune pouch", 1)));
		assertFalse(loader.load(new NamedQuantity("Adamant dagger", 1)));
		assertTrue(loader.load(new NamedQuantity("Runeite Ore", 1)));
		assertTrue(loader.load(new NamedQuantity("Abyssal whip", 1)));
		assertFalse(loader.load(new NamedQuantity("Abyssal dagger", 1)));
	}