@Test
void shouldBeAbleToIterateOverPathNodes()
{

    // Given
    InternalPath path = testPath();
    // When
    List<Node> segments = Iterables.asList( path.nodes() );
    // Then
    assertThat( segments, equalTo( Arrays.asList( (Node)
            new InternalNode( 1 ),
            new InternalNode( 2 ),
            new InternalNode( 3 ),
            new InternalNode( 4 ) ) ) );
}