@Test
	public void testResetPiles(){
		// Create a player, try to set score, and get it.
		IPlayer player = new DummyPlayer();
		PlayerInfo playerInfo = new PlayerInfo(player);
		
		// Grab our Piles.
		Pile handPile1 = playerInfo.getHandPile();
		Pile wonPile1 = playerInfo.getTricksWonPile();
		
		// Reset our piles
		playerInfo.resetPiles();
		
		// Grab our piles again to compare.
		Pile handPile2 = playerInfo.getHandPile();
		Pile wonPile2 = playerInfo.getTricksWonPile();
		
		// Check our hand pile.
		assertTrue("Hand pile should not be null after resetting.", handPile2 != null);
		if(handPile2 != null)
			assertTrue("Hand pile should not be the same after resetting.", handPile1 != handPile2);
		
		// Check our won pile.
		assertTrue("Tricks won pile should not be null after resetting.", wonPile2 != null);
		if(wonPile2 != null)
			assertTrue("Tricks won pile should not be the same after resetting.", wonPile1 != wonPile2);
	}