Skip to content

Commit

Permalink
#148 fixed test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
DirkMahler committed Apr 21, 2015
1 parent 1b6d6f6 commit e3671a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relationship;

import java.net.URISyntaxException;
import java.util.Collection;
Expand Down Expand Up @@ -38,7 +39,7 @@ public void query() {
CompositeObject x = compositeRowObject.get("x", CompositeObject.class);
assertThat(x.getDelegate(), instanceOf(Node.class));
CompositeObject y = compositeRowObject.get("y", CompositeObject.class);
assertThat(y.getDelegate(), instanceOf(Node.class));
assertThat(y.getDelegate(), instanceOf(Relationship.class));
CompositeObject z = compositeRowObject.get("z", CompositeObject.class);
assertThat(z.getDelegate(), instanceOf(Node.class));
xoManager.currentTransaction().commit();
Expand Down

0 comments on commit e3671a7

Please sign in to comment.