### Question:
ServerRuntimeBuilder { public ServerRuntime build() { Collection<Module> allModules = new ArrayList<>(); allModules.addAll(autoLoadModules ? autoLoadedModules() : defaultModules()); allModules.addAll(this.modules); allModules.addAll(builderModules()); return new ServerRuntime(allModules); } protected  ServerRuntimeBuilder(String name); ServerRuntimeBuilder disableModulesAutoLoading(); ServerRuntimeBuilder dataSource(DataSource dataSource); ServerRuntimeBuilder jndiDataSource(String location); ServerRuntimeBuilder url(String url); ServerRuntimeBuilder jdbcDriver(String driver); ServerRuntimeBuilder validationQuery(String validationQuery); ServerRuntimeBuilder maxQueueWaitTime(long maxQueueWaitTime); ServerRuntimeBuilder user(String user); ServerRuntimeBuilder password(String password); ServerRuntimeBuilder minConnections(int minConnections); ServerRuntimeBuilder maxConnections(int maxConnections); ServerRuntimeBuilder addConfig(String configurationLocation); ServerRuntimeBuilder addConfigs(String... configurationLocations); ServerRuntimeBuilder addConfigs(Collection<String> configurationLocations); ServerRuntimeBuilder addModule(Module module); ServerRuntimeBuilder addModules(Collection<Module> modules); ServerRuntime build();  }### Answer:
@Test public void test_NoLocation() { runtime = new ServerRuntimeBuilder(null).build(); List<String> locations = runtime.getInjector().getInstance( Key.getListOf(String.class, Constants.SERVER_PROJECT_LOCATIONS_LIST)); assertEquals(Arrays.asList(), locations); Collection<Module> modules = runtime.getModules(); assertEquals(2, modules.size()); assertThat(modules.iterator().next(), instanceOf(ServerModule.class)); }
@Test public void test_UnnamedDomain_NoLocation() { runtime = new ServerRuntimeBuilder(null).build(); assertEquals("cayenne", runtime.getDataDomain().getName()); }
@Test public void test_NamedDomain_NoLocation() { runtime = new ServerRuntimeBuilder("myd").build(); assertEquals("myd", runtime.getDataDomain().getName()); }