void (ExposedTestResult result) { final long duration = result.getDuration(); myPrintStream.println("##teamcity[testFinished name='" + escapeName(getTestMethodNameWithParams(result)) + (duration > 0 ? "' duration='" + duration : "") + "']"); }