@Test
public void testVisitRackRequestFirst() {

  VisitedResourceRequestTracker tracker =
      new VisitedResourceRequestTracker(nodeTracker);
  // Visit rack request first
  assertTrue(FIRST_CALL_FAILURE, tracker.visit(rackRequest));
  // All other requests should return false
  assertFalse(RACK_VISITED + ANY_FAILURE, tracker.visit(anyRequest));
  assertFalse(RACK_VISITED + NODE_FAILURE, tracker.visit(node1Request));
  assertFalse(RACK_VISITED + NODE_FAILURE, tracker.visit(node2Request));
}