From 673c6a56647120735343f6fdf57ff8da09d95c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann-Ga=C3=ABl?= Date: Fri, 31 Aug 2018 15:37:40 +0000 Subject: [PATCH] Update TestPurchase.java This class should inherit from TestCase in the JUnit library to be a true test case. --- sdm/src/java/decorator/TestPurchase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdm/src/java/decorator/TestPurchase.java b/sdm/src/java/decorator/TestPurchase.java index 2ccc133..54c1dd1 100644 --- a/sdm/src/java/decorator/TestPurchase.java +++ b/sdm/src/java/decorator/TestPurchase.java @@ -5,7 +5,7 @@ public class TestPurchase public static void main(String args[]) { SuperCar superCar = new SuperCar(); - superCar.makeNewPurchase("sound_pack"); + superCar.makeNewPurchase("sound_pack"); // Meaning of this method on ICar? superCar.showPurchase(); superCar.makeNewPurchase("active_body_kit "); superCar.showPurchase();