}
@Test
public void shouldInsertCorrectly() {
Traversal traversal = new DefaultTraversal<>();
TraversalHelper.insertStep(new FilterStep(traversal), 0, traversal);
TraversalHelper.insertStep(new HasStep(traversal, null), 0, traversal);
TraversalHelper.insertStep(new IdentityStep(traversal), 0, traversal);
validateToyTraversal(traversal);
traversal = new DefaultTraversal<>();
TraversalHelper.insertStep(new IdentityStep(traversal), 0, traversal);
TraversalHelper.insertStep(new HasStep(traversal, null), 1, traversal);
TraversalHelper.insertStep(new FilterStep(traversal), 2, traversal);
validateToyTraversal(traversal);
}