// Path: tests/com/thoughtworks/calabash/android/TestUtils.java
// public static String readFileFromResources(final String fileName) throws IOException {
//     final File file = new File("tests/resources/" + fileName);
//     return FileUtils.readFileToString(file, "UTF-8");
// }


import com.thoughtworks.calabash.android.*;
import org.codehaus.jackson.JsonNode;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
import java.util.List;
import static com.thoughtworks.calabash.android.TestUtils.readFileFromResources;
import static org.junit.Assert.assertEquals;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.*;
import static org.mockito.MockitoAnnotations.initMocks;
package com.thoughtworks.calabash.android.unit;




public class TreeBuilderTest {

    @Mock
    private CalabashWrapper wrapper;
    @Mock
    private CalabashHttpClient httpClient;
    @Mock
    private TreeNodeBuilder treeNodeBuilder;

    @Before
    public void setUp() {
        initMocks(this);
    }

    @Test
    public void shouldGetDumpInfo() throws Exception {
// Path: tests/com/thoughtworks/calabash/android/TestUtils.java
// public static String readFileFromResources(final String fileName) throws IOException {
//     final File file = new File("tests/resources/" + fileName);
//     return FileUtils.readFileToString(file, "UTF-8");
// }


// Path: tests/com/thoughtworks/calabash/android/unit/TreeBuilderTest.java
import com.thoughtworks.calabash.android.*;
import org.codehaus.jackson.JsonNode;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
import java.util.List;
import static com.thoughtworks.calabash.android.TestUtils.readFileFromResources;
import static org.junit.Assert.assertEquals;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.*;
import static org.mockito.MockitoAnnotations.initMocks;

package com.thoughtworks.calabash.android.unit;




public class TreeBuilderTest {

    @Mock
    private CalabashWrapper wrapper;
    @Mock
    private CalabashHttpClient httpClient;
    @Mock
    private TreeNodeBuilder treeNodeBuilder;

    @Before
    public void setUp() {
        initMocks(this);
    }

    @Test
    public void shouldGetDumpInfo() throws Exception {
        String dump = readFileFromResources("simple-dump.json");