new ExecutionEngine(database).execute("CREATE " +
"(p1:Person)-[:FRIEND_OF {strength:2}]->(p2:Person)," +
"(p1)-[:FRIEND_OF {strength:1}]->(p3:Person)");
try (Transaction tx = database.beginTx()) {
assertEquals(3, new FriendshipStrengthCounter(database).getTotalFriendshipStrength());
tx.success();
}
}