### Question:
SysErrLogger { public void sysout() { System.out.println(); } private  SysErrLogger(); void ignoreLog(final Throwable throwable); void sysout(); void sysout(final Object message); void sysoutFormat(final String format, final Object... args); void syserrNoLn(final Object message); void syserr(final Object message); void syserr(); void syserr(final String message, final Throwable e); void syserr(final Throwable e); static final SysErrLogger FAKE_LOGGER; }### Answer:
@Test public void testSysout() { buf.setLength(0); SysErrLogger.FAKE_LOGGER.ignoreLog(new Exception("Fake exception")); assertEquals(0, buf.length()); SysErrLogger.FAKE_LOGGER.sysout(NOT_EMPTY); assertTrue(buf.length() > 0); buf.setLength(0); SysErrLogger.FAKE_LOGGER.sysout(); assertTrue(buf.length() > 0); buf.setLength(0); }