@Test
public void refreshAndRetryIfViewChanged() throws ViewChangedException {

  setupViewChangedScenario(true, false);
  AxeView axeView = testSubject.createAxeViews(rootNodeMock);
  Assert.assertNotNull(axeView);
  Assert.assertEquals(axeView, rootViewMock);
  verify(rootNodeMock, times(1)).refresh();
  verify(queueBuilderMock, times(2)).buildPriorityQueue(rootNodeMock);
  verify(rootNodeMock, times(2)).getChildCount();
  verify(rootNodeMock, times(2)).getChild(0);
}