@Test(expected = Report.FailedException.class) public void error_error() { delegate(new Report.Delegate() { @Override public void report(Level level, String message) throws IOException { throw new IOException(); } }); Report.error("Hello"); }
public static void error(String message) { STUB.get().error(message); }
Report { public static void error(String message) { STUB.get().error(message); } }
Report { public static void error(String message) { STUB.get().error(message); } private  Report(); }
Report { public static void error(String message) { STUB.get().error(message); } private  Report(); static void info(String message); static void info(String message, Throwable throwable); static void warn(String message); static void warn(String message, Throwable throwable); static void error(String message); static void error(String message, Throwable throwable); static ApiStub<ReportApi> getStub(); }
Report { public static void error(String message) { STUB.get().error(message); } private  Report(); static void info(String message); static void info(String message, Throwable throwable); static void warn(String message); static void warn(String message, Throwable throwable); static void error(String message); static void error(String message, Throwable throwable); static ApiStub<ReportApi> getStub(); static final String K_DELEGATE_CLASS; }