// Path: src/main/java/com/nikhaldimann/viewselector/ViewSelectorAssertions.java
// public static ViewSelectionAssert assertThatSelection(String selector, Activity activity) {
//     return assertThat(selection(selector, activity));
// }


import static com.nikhaldimann.viewselector.ViewSelectorAssertions.assertThatSelection;
import org.junit.Before;
import org.junit.Test;
import android.app.Activity;
package com.nikhaldimann.viewselector.robolectric.activities;




public abstract class AbstractMainActivityTest {

    private Activity activity;

    protected abstract Activity createActivity();

    @Before
    public void setUp() {
        activity = createActivity();
    }

    @Test
    public void helloWorld() {
// Path: src/main/java/com/nikhaldimann/viewselector/ViewSelectorAssertions.java
// public static ViewSelectionAssert assertThatSelection(String selector, Activity activity) {
//     return assertThat(selection(selector, activity));
// }


// Path: src/robolectric-test/test/com/nikhaldimann/viewselector/robolectric/activities/AbstractMainActivityTest.java
import static com.nikhaldimann.viewselector.ViewSelectorAssertions.assertThatSelection;
import org.junit.Before;
import org.junit.Test;
import android.app.Activity;

package com.nikhaldimann.viewselector.robolectric.activities;




public abstract class AbstractMainActivityTest {

    private Activity activity;

    protected abstract Activity createActivity();

    @Before
    public void setUp() {
        activity = createActivity();
    }

    @Test
    public void helloWorld() {
        assertThatSelection("TextView#hello_world", activity).hasSize(1);