TestDurationStrategy () { final TestDurationStrategy strategy = myDurationStrategyCached; if (strategy != null) { return strategy; } else { final SMRootTestProxy root = getRoot(); if (root == null) { return TestDurationStrategy.AUTOMATIC; } final TestDurationStrategy parentDurationStrategy = root.getDurationStrategy(); myDurationStrategyCached = parentDurationStrategy; return parentDurationStrategy; } }