@Test
public void testDeal_Basic() {

    Dealer dealer = new Dealer();
    int numCards = 40;
    int numPlayers = 4;
    // test
    Stream<Hand> hands = dealer.deal(numCards, numPlayers);
    
    List<Hand> handList = hands.collect(toList());
    assertEquals(8, handList.get(0).cardsAsIntStream().count());
    assertEquals(8, handList.get(1).cardsAsIntStream().count());
    assertEquals(8, handList.get(2).cardsAsIntStream().count());
    assertEquals(8, handList.get(3).cardsAsIntStream().count());
    assertEquals(8, handList.get(4).cardsAsIntStream().count());
}