From 8abeef003671445a388422cb244e5d2f4be56dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann-Ga=C3=ABl?= Date: Fri, 31 Aug 2018 14:50:01 +0000 Subject: [PATCH] Update CompositionTest.java The class should extend TestCase from the JUnit library to make it a real unit test. Then, the main method should become a testXXX method. --- sdm/src/java/association/CompositionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdm/src/java/association/CompositionTest.java b/sdm/src/java/association/CompositionTest.java index dee57a2..bf0c235 100644 --- a/sdm/src/java/association/CompositionTest.java +++ b/sdm/src/java/association/CompositionTest.java @@ -5,6 +5,6 @@ public class CompositionTest public static void main(String args[]) { Person person = new Person(1, 1, 4); - person.showAll(); + person.showAll(); // Why not show()? } }