@Test(expected=NullPointerException.class)
public void testNoNullValuesAllowed() {

  Multinomial<Integer> table = new Multinomial<Integer>();
  // No null values should be allowed.
  table.add(null, 1);
}