Exemplo n.º 1
0
 MangooTestInstance() {
   System.setProperty(Key.APPLICATION_MODE.toString(), Mode.TEST.toString());
   Application.main(null);
   this.fakeSMTP = Application.getFakeSMTP();
   this.injector = Application.getInjector();
 }
Exemplo n.º 2
0
 public static void main(String[] args) {
   System.setProperty("application.mode", Mode.DEV.toString());
   Application.main(null);
 }