Package h07

Class TemplateTests.TraverserTemplateTest

    • Field Detail

      • getCurrentNode

        public final Method getCurrentNode
        Method object for Path.Traverser.getCurrentNode()
      • getDistanceToNextNode

        public final Method getDistanceToNextNode
        Method object for Path.Traverser.getDistanceToNextNode()
      • walkToNextNode

        public final Method walkToNextNode
        Method object for Path.Traverser.walkToNextNode()
      • hasNextNode

        public final Method hasNextNode
        Method object for Path.Traverser.hasNextNode()
    • Method Detail

      • testDefinition

        @Test
        public void testDefinition()
        Tests the definition of Path.Traverser.
        • Asserts that the interface...
          • is public
          • is generic and has two type parameters, V and A
        • Asserts that the declared methods are public and abstract and have the correct return type
        Specified by:
        testDefinition in class TestClass