SystemApplicationConsole implements ApplicationConsole { @Override public boolean isDiagnosticsEnabled() { return true; } SystemApplicationConsole(); @Override void close(); @Override PrintWriter getOutputWriter(); @Override PrintWriter getErrorWriter(); @Override Reader getInputReader(); @Override boolean isDiagnosticsEnabled(); static ApplicationConsoleBuilder builder();  }
@Test public void shouldBeDiagnosticEnabled() throws Exception { SystemApplicationConsole console = new SystemApplicationConsole(); assertThat(console.isDiagnosticsEnabled(), is(true)); }