File tree Expand file tree Collapse file tree
src/test/java/com/iluwatar/delegation/simple Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636 <artifactId >delegation</artifactId >
3737
38-
38+ <dependencies >
39+ <dependency >
40+ <groupId >junit</groupId >
41+ <artifactId >junit</artifactId >
42+ <scope >test</scope >
43+ </dependency >
44+ </dependencies >
3945</project >
Original file line number Diff line number Diff line change 33import com .iluwatar .delegation .simple .printers .CanonPrinter ;
44import com .iluwatar .delegation .simple .printers .EpsonPrinter ;
55import com .iluwatar .delegation .simple .printers .HPPrinter ;
6+ import org .junit .Test ;
67
78public class AppTest {
89
910 public static final String MESSAGE_TO_PRINT = "hello world" ;
1011
11- public static void main (String args []) {
12+ @ Test
13+ public static void main () {
1214 Printer hpPrinter = new HPPrinter ();
1315 Printer canonPrinter = new CanonPrinter ();
1416 Printer epsonPrinter = new EpsonPrinter ();
You can’t perform that action at this time.
0 commit comments