Added action-influence lifecycle test

This commit is contained in:
Dave
2015-01-06 23:45:33 +02:00
parent 787d66b87d
commit 4e42c51581
3 changed files with 277 additions and 10 deletions

View File

@@ -0,0 +1,23 @@
package nodash.test;
import nodash.models.NoInfluence;
import nodash.models.NoUser;
public class NoInfluenceTest extends NoInfluence {
/**
*
*/
private static final long serialVersionUID = 5710677031891178814L;
private String newName;
public NoInfluenceTest(String newName) {
super();
this.newName = newName;
}
@Override
public void applyTo(NoUser user) {
((NoUserTest) user).setChangableString(this.newName);
}
}