env.put("ASAKUSA_HOME", folder.getRoot().getAbsolutePath());
final Map<String, String> args = new HashMap<String, String>();
for (int i = 0; i < kvs.length; i += 2) {
args.put(kvs[i], kvs[i + 1]);
}
return new TestContext() {
@Override
public Map<String, String> getEnvironmentVariables() {
return env;
}