@Before public void setupTheDatabase() throws Exception { ServerHelper.cleanTheDatabase(server); long nodeId = helper.createNode(); propertiesUri = new URI(functionalTestHelper.nodeUri(nodeId) + "/properties"); badUri = new URI(functionalTestHelper.nodeUri(nodeId * 999) + "/properties"); }
@Before public void setupTheDatabase() { ServerHelper.cleanTheDatabase(server); createSimpleGraph(); }
@BeforeClass public static void setupServer() throws IOException { server = ServerHelper.createServer(); functionalTestHelper = new FunctionalTestHelper(server); helper = functionalTestHelper.getGraphDbHelper(); }
@Before public void cleanDatabase() { ServerHelper.cleanTheDatabase(server); }