mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 12:59:00 +00:00
Add unit test to show that the callback method is called.
This commit is contained in:
@@ -9,7 +9,7 @@ public class SimpleTask extends Task {
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
System.out.println("Perform some important activity.");
|
||||
System.out.println("Perform some important activity and after call the callback method.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user