@Test public void failsOnMissingInput() { environmentVariables.set("OUTPUT_TABLE", "dataset.table"); assertThrows(IllegalArgumentException.class, () -> Sink.main(null)); }
public static void main(String[] args) throws IOException { SinkConfig.getInput(SinkConfig.getOutput()).run(); }
Sink { public static void main(String[] args) throws IOException { SinkConfig.getInput(SinkConfig.getOutput()).run(); } }
Sink { public static void main(String[] args) throws IOException { SinkConfig.getInput(SinkConfig.getOutput()).run(); } private  Sink(); }
Sink { public static void main(String[] args) throws IOException { SinkConfig.getInput(SinkConfig.getOutput()).run(); } private  Sink(); static void main(String[] args); }
Sink { public static void main(String[] args) throws IOException { SinkConfig.getInput(SinkConfig.getOutput()).run(); } private  Sink(); static void main(String[] args);  }