@Test
public void getData() {

  TreeStructureProvider mockProvider = mock(TreeStructureProvider.class);
  BuildScriptTreeStructureProvider provider = new BuildScriptTreeStructureProvider(mockProvider);
  Object data = "This is test data";
  doReturn(data).when(mockProvider).getData(any(), any());
  Object result = provider.getData(createChildren(), "");
  verify(mockProvider).getData(any(), any());
  assertEquals(data, result);
}