Skip to content

Instantly share code, notes, and snippets.

@searls
Created October 23, 2010 22:30
Show Gist options
  • Save searls/642773 to your computer and use it in GitHub Desktop.
Save searls/642773 to your computer and use it in GitHub Desktop.
@Before
public void feelDirty() {
target = new MyActionSupportSubclass() {
@Override public String getText(String aTextName) {
return aTextName;
}
@Override public String getText(String key, String[] args) {
return key + ":" + StringUtils.join(args, ',');
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment