### Question:
Dealer { protected List<Integer> buildShuffledDeck(int numCards) { List<Integer> cards = IntStream.range(1,numCards+1).boxed().collect(toList()); Collections.shuffle(cards, new Random(new Date().getTime())); return cards; }  Table deal(int numCards, List<Player> players);  }### Answer:
@Test public void testBuildShuffledDeck() { Dealer dealer = new Dealer(); int numCards = 4; List<Integer> result = dealer.buildShuffledDeck(numCards); assertEquals(4, result.size()); assertTrue(result.contains(1)); assertTrue(result.contains(2)); assertTrue(result.contains(3)); assertTrue(result.contains(4)); }