Cake extends BakedItem { public int getLayers() { return layers; } 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 getLayersTest() { int result1 = c1.getLayers(); Assert.assertEquals("", 1, result1); int result2 = c2.getLayers(); Assert.assertFalse("", 0 == result2); }