@Test
    public void testGetPositions()
    {
        RosterDefinition roster = new RosterDefinition();
        Set<FantasyPosition> fantasyPositions = roster.getFantasyPositions();
        Assert.assertNotNull("Failed to retrieve fantasy position set",
                             fantasyPositions);
        Assert.assertEquals("Incorrect initial fantasy position set size",
                            0,
                            fantasyPositions.size());
        Set<Position> positions = roster.getPositions();
        Assert.assertNotNull("Failed to retrieve position set",
                             positions);
        Assert.assertEquals("Incorrect initial position set size",
                            0,
                            positions.size());
        for ( int i = 0; i < Position.values().length; i++ )
        {
            roster = new RosterDefinition();
            Position p1 = Position.values()[i];
            FantasyPosition fp1 = new FantasyPosition(p1);
            roster.setStarters(fp1, 1);
            if ( i > 0 )
            {
                FantasyPosition slash = new FantasyPosition(p1,
                                                            Position.values()[i-1]);
                roster.setStarters(slash, 1);
            }

            for ( int j = 0; j < Position.values().length; j++ )
            {
                if ( j == i || ( i > 0 && j == i - 1 ) )
                {
                    continue;
                }
                fantasyPositions = roster.getFantasyPositions();
                positions = roster.getPositions();
                Position p2 = Position.values()[j];
                FantasyPosition fp2 = new FantasyPosition(p2);
                Assert.assertFalse("Roster should not contain fantasy position: " + fp2,
                                   fantasyPositions.contains(fp2));
                Assert.assertFalse("Roster should not contain position: " + p2,
                                   positions.contains(p2));
                if ( j > 0 )
                {
                    FantasyPosition slash = new FantasyPosition(p2,
                                                                Position.values()[j-1]);
                    Assert.assertFalse("Roster should not contain position: " + slash,
                                       fantasyPositions.contains(slash));
                }
            }
        }
    }