OrientDBEmbedServer { public void startup() { startup(LIGHT_REPOSITORY_CONFIG); } OrientDBEmbedServer(Config config); void init(); void startup(); void startup(String configFilePath); boolean shutdown(); boolean isActive();  }
@Test public void testStartup() { TestConfigure.load(); RepositorySource repositorySource = TestConfigure.getRepositorySource(); TransactionDao transactionDao = new TransactionDaoImpl(TestConfigure.getRepositoryExecutor()); OPartitionedDatabasePool partitionedDatabasePool = repositorySource.getPartitionedDatabasePool(); assertThat(partitionedDatabasePool.getAvailableConnections(), is(partitionedDatabasePool.getCreatedInstances())); OObjectDatabaseTx objectDatabaseTx = repositorySource.getObjectDatabaseTx(); Transaction transaction = objectDatabaseTx.newInstance(Transaction.class, IdentifierUtils.nextLong()); objectDatabaseTx.close(); transactionDao.save(transaction); assertThat(partitionedDatabasePool.getAvailableConnections(), is(partitionedDatabasePool.getCreatedInstances())); }