### Question:
ArimaSpec extends DefaultArimaSpec { @Override public void setBD(int value) { if (value > MAXBD) { throw new TramoException("BD must be <= "+Integer.toString(MAXBD)); } super.setBD(value); } ArimaSpec(); @Override ArimaSpec clone(); @Override void setP(int value); @Override void setD(int value); @Override void setQ(int value); @Override void setBP(int value); @Override void setBD(int value); @Override void setBQ(int value); static final int MAXP; }### Answer:
@Test(expected = TramoException.class) public void testSetBDUpperBound() { ArimaSpec spec = new ArimaSpec(); spec.setBD(5); }