@Test public void defaults() { WaitForOptions options = WaitForOptions.defaults(); assertEquals(WaitForOptions.DEFAULT_INTERVAL, options.getInterval()); assertEquals(WaitForOptions.NEVER, options.getTimeoutMs()); }
public static WaitForOptions defaults() { return new WaitForOptions().setInterval(DEFAULT_INTERVAL).setTimeoutMs(NEVER); }
WaitForOptions { public static WaitForOptions defaults() { return new WaitForOptions().setInterval(DEFAULT_INTERVAL).setTimeoutMs(NEVER); } }
WaitForOptions { public static WaitForOptions defaults() { return new WaitForOptions().setInterval(DEFAULT_INTERVAL).setTimeoutMs(NEVER); } private  WaitForOptions(); }
WaitForOptions { public static WaitForOptions defaults() { return new WaitForOptions().setInterval(DEFAULT_INTERVAL).setTimeoutMs(NEVER); } private  WaitForOptions(); static WaitForOptions defaults(); int getInterval(); int getTimeoutMs(); WaitForOptions setInterval(int intervalMs); WaitForOptions setTimeoutMs(int timeoutMs); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
WaitForOptions { public static WaitForOptions defaults() { return new WaitForOptions().setInterval(DEFAULT_INTERVAL).setTimeoutMs(NEVER); } private  WaitForOptions(); static WaitForOptions defaults(); int getInterval(); int getTimeoutMs(); WaitForOptions setInterval(int intervalMs); WaitForOptions setTimeoutMs(int timeoutMs); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final int NEVER; }