Search in sources :

Example 1 with FeatureStoreNeo4J

use of org.ff4j.neo4j.store.FeatureStoreNeo4J in project ff4j by ff4j.

the class FeatureStoreNeo4jSchemaTest method testCreateSchema.

@Test
public void testCreateSchema() {
    // Given
    FeatureStore fStore = new FeatureStoreNeo4J(graphDb);
    // WHEN
    fStore.createSchema();
    fStore.createSchema();
    // No error here even if calling the method twice
    Assert.assertNotNull(fStore);
}
Also used : FeatureStoreNeo4J(org.ff4j.neo4j.store.FeatureStoreNeo4J) FeatureStore(org.ff4j.core.FeatureStore) Test(org.junit.Test)

Aggregations

FeatureStore (org.ff4j.core.FeatureStore)1 FeatureStoreNeo4J (org.ff4j.neo4j.store.FeatureStoreNeo4J)1 Test (org.junit.Test)1