props.put(AbstractNode.name, "TestSeven-0");;
try (final Tx tx = app.tx()) {
// this will work
TestSeven node = app.create(TestSeven.class, props);
props.remove(AbstractNode.name);
props.put(lat, 50.12285d);
props.put(lon, 8.73924d);
// this will fail
TestSeven node2 = app.create(TestSeven.class, props);
// adding another
TestSeven node3 = app.create(TestSeven.class, props);
tx.success();
}
fail("Expected a FrameworkException (name must_not_be_empty)");