package com.xtremelabs.robolectric.shadows;

import android.widget.EditText;
import com.xtremelabs.robolectric.Robolectric;
import com.xtremelabs.robolectric.WithTestDefaultsRunner;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.assertTrue;

@RunWith(WithTestDefaultsRunner.class)
public class EditTextTest {
    @Before public void setUp() throws Exception {
        Robolectric.bindDefaultShadowClasses();
    }

    @Test
    public void shouldBeFocusableByDefault() throws Exception {
        assertTrue(new EditText(null).isFocusable());
        assertTrue(new EditText(null).isFocusableInTouchMode());
    }
}

@@ -108,102 +108,30 @@
 ric.
-Robolectric;%0Aimport com.xtremelabs.robolectric.WithTestDefaultsRunner;%0Aimport org.junit.Before
+WithTestDefaultsRunner
 ;%0Aim
@@ -268,16 +268,16 @@
 .class)%0A
+
 public c
@@ -300,114 +300,8 @@
 t %7B%0A
-    @Before public void setUp() throws Exception %7B%0A        Robolectric.bindDefaultShadowClasses();%0A    %7D%0A%0A
     

remove unneeded test setup