Check that when calling addEdge, the same number of arguments are passed as expected by the schema.