@Test
public void testTraverseNoSubs() throws Exception {

  CoreElement element = new CoreElement();
  SessionContext context = TestUtils.createSessionContext(USER, "test");
  ElementContext elementContext = new ElementContext(new Id(), new Id());
  Space space = Space.PRIVATE;
  traverser.traverse(context, elementContext, space, element, visitorMock);
  verify(visitorMock)
      .visit(context, elementContext, space, element);
}