import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * The test class ProductTest. * * @author (your name) * @version (a version number or a date) */ public class ProductTest { @Test public void getNameTest1() { Product product1 = new Product("bacon", 10.50, 20); assertEquals("bacon", product1.getId()); } @Test public void getPriceTest1() { Product product1 = new Product("shrimp", 15.00, 50); assertEquals(15.00, product1.getPrice(), 0.01); } }