Main { private Main() { } private  Main(); static void main(@Nonnull final String... args);  }
@SuppressWarnings("ProhibitedExceptionDeclared") @Test(expected = IllegalStateException.class) public void testMainFails() throws Exception { LOG.info("testMainFails"); Main.main("--port", "8080", "--debug"); }