Main { public Main(Environment env) { this.env = env; } Main(Environment env); static void main(String[] args); void run(String[] args);  }
@Test(expected = RuntimeException.class) public void testErrorIfNoHeap() throws Exception { Main.main(new String[0]); }