@BeforeClass
public static void startDb() throws Exception {
db = new ImpermanentGraphDatabase();
final ServerConfigurator configurator = new ServerConfigurator(db);
configurator.configuration().setProperty(Configurator.WEBSERVER_PORT_PROPERTY_KEY,PORT);
final WrappingNeoServerBootstrapper bootstrapper = new WrappingNeoServerBootstrapper(db, configurator);
int exit = bootstrapper.start();
if (exit != 0 ) throw new IllegalStateException("Server not started correctly.");
neoServer = bootstrapper.getServer();