Cake extends BakedItem { public void setLayers(int layersIn) { this.layers = layersIn; } Cake(String nameIn, String flavorIn, int quantityIn, 
                        int layersIn, String ... ingredientsIn); int getLayers(); void setLayers(int layersIn); double price(); static final double BASE_RATE; }
@Test public void setLayersTest() { c1.setLayers(4); int result1 = c1.getLayers(); Assert.assertEquals("", 4, result1); c2.setLayers(1); int result2 = c1.getLayers(); Assert.assertFalse("", 0 == result2); }