TestCase testCase = Binder.newTestCase("dummy", "dummy", baseURL);
testCase.addCommand(cf, "open", "/");
testCase.addCommand(cf, "storeEval", script, "var01");
testCase.addCommand(cf, "setBoolean", "false", "logoutpresent");
testCase.addCommand(cf, "storeEval", script, "var02");
Result result = runner.execute(testCase);
assertThat(result, is(instanceOf(Success.class)));
assertThat((String) varsMap.get("var01"), is("result01"));
assertThat((String) varsMap.get("var02"), is("result02"));
}