@Test
public void buildSingleNodeQueue() {

  Queue<AccessibilityNodeInfoSorter> queue = testSubject.buildPriorityQueue(rootNode);
  Assert.assertNotNull(queue);
  Assert.assertEquals(queue.size(), 1);
  verify(nodeSorterFactory).createNodeSorter(rootNode, Long.MAX_VALUE);
  assertNextQueueItemEquals(queue, rootNode, Long.MAX_VALUE);
}