RuntimeOptions { public boolean isStrict() { return strict; } RuntimeOptions(final String argv);  RuntimeOptions(List<String> argv); List<String> getGlue(); boolean isStrict(); boolean isDryRun(); List<String> getFilters(); boolean isMonochrome(); List<String> getPluginNames();  }
@Test public void assigns_strict() { final RuntimeOptions options = new RuntimeOptions(asList("--strict", "--glue", "somewhere")); assertTrue(options.isStrict()); }
@Test public void assigns_strict_short() { final RuntimeOptions options = new RuntimeOptions(asList("-s", "--glue", "somewhere")); assertTrue(options.isStrict()); }
@Test public void default_strict() { final RuntimeOptions options = new RuntimeOptions(asList("--glue", "somewhere")); assertFalse(options.isStrict()); }