@Test
public void createsAxeViewWithChildNode() throws ViewChangedException {

  when(rootNodeMock.getChildCount()).thenReturn(1);
  when(rootNodeMock.getChild(0)).thenReturn(childNodeMock);
  enqueueNode(childNodeMock);
  enqueueNode(rootNodeMock);
  AxeView axeView = testSubject.createAxeViews(rootNodeMock);
  Assert.assertNotNull(axeView);
  Assert.assertEquals(axeView, rootViewMock);
  ArrayList<AxeView> children = new ArrayList<>();
  children.add(childViewMock);
  verify(nodeViewBuilderFactoryMock, times(1))
      .createNodeViewBuilder(eq(rootNodeMock), eq(children), eq(null));
  verify(nodeViewBuilderFactoryMock, times(1))
      .createNodeViewBuilder(eq(childNodeMock), eq(new ArrayList<>()), eq(null));
}