Skip to content

Commit 21a4d7b

Browse files
author
Richard Jones
committed
Add unit test to show that the callback method is called.
1 parent 83c2fbd commit 21a4d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

callback/src/main/java/com/iluwatar/callback/SimpleTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class SimpleTask extends Task {
99

1010
@Override
1111
public void execute() {
12-
System.out.println("Perform some important activity.");
12+
System.out.println("Perform some important activity and after call the callback method.");
1313
}
1414

1515
}

0 commit comments

Comments
 (0)