Statement statement = new RunScriptTest(this.testScript, this.instance, arguments, child);
List<FrameworkMethod> before = getTestClass().getAnnotatedMethods(Before.class);
if (!before.isEmpty()) {
statement = new RunBefores(statement, before, this.instance);
}
List<FrameworkMethod> after = getTestClass().getAnnotatedMethods(After.class);
if (!after.isEmpty()) {
statement = new RunAfters(statement, after, this.instance);