Added tests for template-method pattern

This commit is contained in:
Jeroen Meulemeester
2015-12-30 19:48:38 +01:00
parent 09d3a82884
commit 47709e24b9
5 changed files with 243 additions and 0 deletions

View File

@@ -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."
);
}
}