Promise<Object> (@NotNull PlaybackContext context) { StageInfo stage = context.popStage(); if (stage != null) { context.test("Test finished OK: " + stage.getName(), getLine()); context.addPassed(stage); } return Promises.resolvedPromise(); }