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
@@ -0,0 +1,23 @@
package com.iluwatar.templatemethod;
/**
* Date: 12/30/15 - 18:12 PM
*
* @author Jeroen Meulemeester
*/
public class HitAndRunMethodTest extends StealingMethodTest<HitAndRunMethod> {
/**
* Create a new test for the {@link HitAndRunMethod}
*/
public HitAndRunMethodTest() {
super(
new HitAndRunMethod(),
"old goblin woman",
"The target has been chosen as old goblin woman.",
"Approach the old goblin woman from behind.",
"Grab the handbag and run away fast!"
);
}
}