@Override public boolean matchesSafely(String item) { try { SWTBotFactory.getBot().waitUntil(new ConsoleContainsTextCondition(item), timeout); if (consoleText == null) { throw new IllegalStateException("No console output present"); } return true; } catch (TimeoutException e) { return false; } }
private SWTBot getBot() { return SWTBotFactory.getBot(); }