protected <T extends Relation> List<T> createTestRelationships(final Class<T> relType, final int number) throws FrameworkException {
final App app = StructrApp.getInstance(securityContext);
final List<TestOne> nodes = createTestNodes(TestOne.class, 2);
final TestOne startNode = nodes.get(0);
final TestOne endNode = nodes.get(1);
final List<T> rels = new LinkedList<>();
try (final Tx tx = app.tx()) {
for (int i = 0; i < number; i++) {