@Test public void start_with_no_args() throws Exception { Application application = mock(Application.class); when(application.getPlugins()).thenReturn(ImmutableList.<Plugin>of()); String[] args = new String[]{}; new Platform(application).start(args); }
public void start(String[] args) throws Exception { Preconditions.checkNotNull(args, "Arguments cannot be null."); run(args); }
Platform extends io.dropwizard.Application<PlatformConfiguration> { public void start(String[] args) throws Exception { Preconditions.checkNotNull(args, "Arguments cannot be null."); run(args); } }
Platform extends io.dropwizard.Application<PlatformConfiguration> { public void start(String[] args) throws Exception { Preconditions.checkNotNull(args, "Arguments cannot be null."); run(args); } Platform(Application application); }
Platform extends io.dropwizard.Application<PlatformConfiguration> { public void start(String[] args) throws Exception { Preconditions.checkNotNull(args, "Arguments cannot be null."); run(args); } Platform(Application application); static Platform forApplication(Application application); void start(String[] args); @Override void initialize(Bootstrap<PlatformConfiguration> bootstrap); @Override void run(PlatformConfiguration configuration, Environment environment); }
Platform extends io.dropwizard.Application<PlatformConfiguration> { public void start(String[] args) throws Exception { Preconditions.checkNotNull(args, "Arguments cannot be null."); run(args); } Platform(Application application); static Platform forApplication(Application application); void start(String[] args); @Override void initialize(Bootstrap<PlatformConfiguration> bootstrap); @Override void run(PlatformConfiguration configuration, Environment environment);  }