@Test(expected = IllegalStateException.class)
    public void testGetTiePercentageWhenSimulationIsntDone() {
        Set<AbstractStartingHand> hands = new HashSet<AbstractStartingHand>();
        FiveCardBoard board = new FiveCardBoard();               
        TexasHoldemStartingHand hand1 = new TexasHoldemStartingHand(new Card(Suit.CLUB, Rank.ACE), new Card(Suit.SPADE, Rank.ACE));
        hands.add(hand1);
        TexasHoldemStartingHand hand2 = new TexasHoldemStartingHand(new Card(Suit.CLUB, Rank.DEUCE), new Card(Suit.SPADE, Rank.THREE));
        hands.add(hand2);    
        SimulationResult result = new SimulationResult(hands, board, 3, PokerGameType.TEXAS);   
        
        result.addResultForOneSimulation(hands);      
        
        result.getTiePercentageForHand(hand1, 3);
    }