WeddingCake extends Cake { public int getTiers() { return tiers; } WeddingCake(String nameIn, String flavorIn, int quantityIn,
                   int layersIn, int tiersIn, String ... ingredientsIn); int getTiers(); void setTiers(int tiersIn); double price(); static final double BASE_RATE; }
@Test public void getTiersTest() { int result1 = c1.getTiers(); Assert.assertEquals("", 1, result1); int result2 = c2.getTiers(); Assert.assertFalse("", 0 == result2); int result3 = c3.getTiers(); Assert.assertTrue("", 3 == result3); }