@Test
void shouldBeAbleToIterateOverPathRelationships()
{

    // Given
    InternalPath path = testPath();
    // When
    List<Relationship> segments = Iterables.asList( path.relationships() );
    // Then
    assertThat( segments, equalTo( Arrays.asList( (Relationship)
            new InternalRelationship( -1, 1, 2, "KNOWS" ),
            new InternalRelationship( -2, 3, 2, "KNOWS" ),
            new InternalRelationship( -3, 3, 4, "KNOWS" ) ) ) );
}