Added tests for template-method pattern
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.iluwatar.templatemethod;
|
||||
|
||||
/**
|
||||
* Date: 12/30/15 - 18:19 PM
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
public class SubtleMethodTest extends StealingMethodTest<SubtleMethod> {
|
||||
|
||||
/**
|
||||
* Create a new test for the {@link SubtleMethod}
|
||||
*/
|
||||
public SubtleMethodTest() {
|
||||
super(
|
||||
new SubtleMethod(),
|
||||
"shop keeper",
|
||||
"The target has been chosen as shop keeper.",
|
||||
"Approach the shop keeper with tears running and hug him!",
|
||||
"While in close contact grab the shop keeper's wallet."
|
||||
);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user