}
@Test
public void testEqualsAndHashCode() throws Exception {
FreeCellLayout layout1 = new FreeCellLayout(new DeckOfCards());
FreeCellLayout layout2 = new FreeCellLayout(new DeckOfCards());
// These will not be the same because all areas are based on sets, but should be equal
assertNotSame("Layouts are not the same object", layout1, layout2);
assertEquals("Hashcodes are equal", layout1.hashCode(), layout2.hashCode());
assertEquals("Layouts are equal", layout1, layout2);