@Test
public void testVisitNodeRequestFirst() {

  VisitedResourceRequestTracker tracker =
      new VisitedResourceRequestTracker(nodeTracker);
  // Visit node1 first
  assertTrue(FIRST_CALL_FAILURE, tracker.visit(node1Request));
  // Rack and ANY should return false
  assertFalse(NODE_VISITED + ANY_FAILURE, tracker.visit(anyRequest));
  assertFalse(NODE_VISITED + RACK_FAILURE, tracker.visit(rackRequest));
  // The other node should return true
  assertTrue(NODE_VISITED + "Different node visit failed",
      tracker.visit(node2Request));
}