### Question:
SysProps { public static int startDelay () { return Math.min(Math.max(Integer.getInteger("delay", 0), 0), 60 * 24); }  static String appDir(); static String appId(); static String appBase(); static boolean noLogRedir(); static boolean debug(); static String appbaseDomain(); static String appbaseOverride(); static boolean silent(); static boolean launchInSilent(); static boolean noUpdate(); static boolean noInstall(); static int startDelay(); static boolean noUnpack(); static boolean direct(); static boolean tryNoProxyFirst(); static int connectTimeout(); static int readTimeout(); static int threadPoolSize(); static long parseJavaVersion(String propName, String propRegex); static String overrideAppbase(String appbase); static String replaceDomain(String appbase);  }### Answer:
@Test public void testStartDelay () { assertEquals(0, SysProps.startDelay()); System.setProperty("delay", "x"); assertEquals(0, SysProps.startDelay()); System.setProperty("delay", "-7"); assertEquals(0, SysProps.startDelay()); System.setProperty("delay", "7"); assertEquals(7, SysProps.startDelay()); System.setProperty("delay", "1440"); assertEquals(1440, SysProps.startDelay()); System.setProperty("delay", "1441"); assertEquals(1440, SysProps.startDelay()); }