AbstractTestProxy () { TreePath[] paths = getSelectionPaths(); if (paths != null && paths.length > 1) return null; final TreePath selectionPath = getSelectionPath(); return selectionPath != null ? getSelectedTest(selectionPath) : null; }