### Question:
Application { public static void main(String[] args) { Application app = new Application(); app.buildArguments(); Arguments arguments = app.getArguments(); long start = System.nanoTime(); final Processor processor = new ProcessorBuilder() .with(pb -> pb.arguments = arguments) .build(); Set<TestVertex> relatedTests = processor.getResultGenerator().generate(ResultContent.RELATED_TESTS).get(ResultContent.RELATED_TESTS); Set<TestVertex> disconnectedTests = processor.getResultGenerator().generate(ResultContent.DISCONNECTED_TESTS).get(ResultContent.DISCONNECTED_TESTS); Set<TestVertex> testSuites = processor.getResultGenerator().generate(ResultContent.TEST_SUITES).get(ResultContent.TEST_SUITES); log.info("Related tests to execute: {}", relatedTests); log.info("Related tests to execute (size): {}", relatedTests.size()); log.info("Disconnected tests to execute: {}", disconnectedTests); log.info("Related test suites: {}", testSuites); log.info("Sandboni execution: {} milliseconds", TimeUtils.elapsedTime(start)); }  static void main(String[] args); Arguments getArguments(); Map<String, String> getProperties();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testNoSystemProperties() { System.clearProperty(SystemProperties.SRC_LOCATION.getName()); System.clearProperty(SystemProperties.TEST_LOCATION.getName()); System.clearProperty(SystemProperties.SRC_LOCATION.getName()); System.clearProperty(SystemProperties.TEST_LOCATION.getName()); System.clearProperty("sandboni.scm.from"); System.clearProperty("sandboni.scm.to"); System.clearProperty("sandboni.scm.repository"); System.clearProperty("sandboni.selectiveMode"); Application.main(new String[]{}); }
@Test(expected = IllegalArgumentException.class) public void testNoLocationsSystemProperty() { fillSystemProperties(); System.clearProperty(SystemProperties.SRC_LOCATION.getName()); System.clearProperty(SystemProperties.TEST_LOCATION.getName()); Application.main(new String[]{}); }
@Test(expected = IllegalArgumentException.class) public void testNoScmFromSystemProperty() { fillSystemProperties(); System.clearProperty("sandboni.scm.from"); Application.main(new String[]{}); }
@Test(expected = IllegalArgumentException.class) public void testNoScmToSystemProperty() { fillSystemProperties(); System.clearProperty("sandboni.scm.to"); Application.main(new String[ ]{}); }
@Test(expected = IllegalArgumentException.class) public void testNoScmRepositorySystemProperty() { fillSystemProperties(); System.clearProperty("sandboni.scm.repository"); Application.main(new String[]{}); }