mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 14:14:57 +00:00
Created a unit test for build, added junit to pom for delegation maven module. #324
This commit is contained in:
1 parent
c3184255bf
commit
f0ff8ad4b3
2 files changed
+10
-2
No files matched your search
@@ -3,12 +3,14 @@ package com.iluwatar.delegation.simple;
|
||||
import com.iluwatar.delegation.simple.printers.CanonPrinter;
|
||||
import com.iluwatar.delegation.simple.printers.EpsonPrinter;
|
||||
import com.iluwatar.delegation.simple.printers.HPPrinter;
|
||||
import org.junit.Test;
|
||||
|
||||
public class AppTest {
|
||||
|
||||
public static final String MESSAGE_TO_PRINT = "hello world";
|
||||
|
||||
public static void main(String args[]) {
|
||||
@Test
|
||||
public static void main() {
|
||||
Printer hpPrinter = new HPPrinter();
|
||||
Printer canonPrinter = new CanonPrinter();
|
||||
Printer epsonPrinter = new EpsonPrinter();
|
||||
|
||||
Reference in new issue
Block a user