@Test public void shouldGetNoRels() { try (Transaction tx = database.beginTx()) { assertEquals(0, IterableUtils.count(IncludeNoRelationships.getInstance().getAll(database))); tx.success(); } }
@Test public void shouldContainCorrectKeys() { PropertiesDescription description = wildcard(); List<String> keys = IterableUtils.toList(description.getKeys()); assertEquals(3, keys.size()); assertTrue(keys.contains("two")); assertTrue(keys.contains("three")); assertTrue(keys.contains("array")); }