Пример #1
0
 public static ISailsApplication configured(ISailsApplicationConfigurator configurator) {
   SailsApplication application = new SailsApplication();
   SailsApplicationConfiguratorFixture.configure(application, configurator);
   return application;
 }
Пример #2
0
 /**
  * @return an ISailsApplication configured by {@link
  *     SailsApplicationConfiguratorFixture#configure(IConfigurableSailsApplication)}
  */
 public static ISailsApplication basic() {
   SailsApplication application = new SailsApplication();
   SailsApplicationConfiguratorFixture.configure(application);
   return application;
 }