BlockingRequestObserver testRequestObserver = new BlockingRequestObserver(RequestVersion1.REFRESH_TYPE);
gradleInterface.addRequestObserver(testRequestObserver);
singlePane.aboutToShow();
gradleInterface.refreshTaskTree();
testRequestObserver.waitForRequestExecutionComplete(80, TimeUnit.SECONDS);
assertEquals(String.format("Execution failed%n%s", testRequestObserver.getOutput()), 0, (long) testRequestObserver.getResult());