@Test public void uses_default_mode_when_none_found() { TestModes mode = new TestModalApplication(ARGS_MISSING).getMode(); assertThat(mode, equalTo(TestModes.PROD)); }
public E getMode() { return mode; }
ModalApplication extends SimpleApplication implements Application { public E getMode() { return mode; } }
ModalApplication extends SimpleApplication implements Application { public E getMode() { return mode; } protected  ModalApplication(
            Class<E> modeClass,
            E defaultMode,
            String[] args); }
ModalApplication extends SimpleApplication implements Application { public E getMode() { return mode; } protected  ModalApplication(
            Class<E> modeClass,
            E defaultMode,
            String[] args); E getMode(); }
ModalApplication extends SimpleApplication implements Application { public E getMode() { return mode; } protected  ModalApplication(
            Class<E> modeClass,
            E defaultMode,
            String[] args); E getMode();  }