// Path: app/src/androidTest/java/com/jachness/blockcalls/AndroidTest.java
// public abstract class AndroidTest {
//     private Context targetContext;
//     private AllComponentTest component;
//     private AppPreferences appPreferences;
//     private Context context;
// 
//     protected void setUp() throws Exception {
//         targetContext = InstrumentationRegistry.getTargetContext();
//         context = InstrumentationRegistry.getContext();
//         component = DaggerAllComponentTest.builder().blockModule(new BlockModule(targetContext))
//                 .appModule(new AppModule(targetContext))
//                 .dAOModule(new DAOModule(targetContext)).build();
//         appPreferences = new AppPreferences(targetContext);
//     }
// 
//     protected Context getTargetContext() {
//         return targetContext;
//     }
// 
//     protected AllComponentTest getComponent() {
//         return component;
//     }
// 
//     protected AppPreferences getAppPreferences() {
//         return appPreferences;
//     }
// 
//     public Context getContext() {
//         return context;
//     }
// }


import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import com.jachness.blockcalls.AndroidTest;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
package com.jachness.blockcalls.stuff;





@RunWith(AndroidJUnit4.class)
@SmallTest
// Path: app/src/androidTest/java/com/jachness/blockcalls/AndroidTest.java
// public abstract class AndroidTest {
//     private Context targetContext;
//     private AllComponentTest component;
//     private AppPreferences appPreferences;
//     private Context context;
// 
//     protected void setUp() throws Exception {
//         targetContext = InstrumentationRegistry.getTargetContext();
//         context = InstrumentationRegistry.getContext();
//         component = DaggerAllComponentTest.builder().blockModule(new BlockModule(targetContext))
//                 .appModule(new AppModule(targetContext))
//                 .dAOModule(new DAOModule(targetContext)).build();
//         appPreferences = new AppPreferences(targetContext);
//     }
// 
//     protected Context getTargetContext() {
//         return targetContext;
//     }
// 
//     protected AllComponentTest getComponent() {
//         return component;
//     }
// 
//     protected AppPreferences getAppPreferences() {
//         return appPreferences;
//     }
// 
//     public Context getContext() {
//         return context;
//     }
// }


// Path: app/src/androidTest/java/com/jachness/blockcalls/stuff/AppPreferencesTest.java
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import com.jachness.blockcalls.AndroidTest;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

package com.jachness.blockcalls.stuff;





@RunWith(AndroidJUnit4.class)
@SmallTest
public class AppPreferencesTest extends AndroidTest {