@@ -0,0 +1,2701 @@
+package com.andela.iworkout.activities;%0A%0Aimport android.test.ActivityInstrumentationTestCase2;%0Aimport android.text.InputType;%0A%0Aimport com.andela.iworkout.R;%0A%0Aimport static android.support.test.espresso.Espresso.onView;%0Aimport static android.support.test.espresso.action.ViewActions.clearText;%0Aimport static android.support.test.espresso.action.ViewActions.click;%0Aimport static android.support.test.espresso.action.ViewActions.typeText;%0Aimport static android.support.test.espresso.assertion.ViewAssertions.matches;%0Aimport static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;%0Aimport static android.support.test.espresso.matcher.ViewMatchers.withInputType;%0Aimport static android.support.test.espresso.matcher.ViewMatchers.withText;%0A%0Apublic class SettingsActivityTest extends ActivityInstrumentationTestCase2%3CSettingsActivity%3E %7B%0A%0A    public SettingsActivityTest() %7B%0A        super(SettingsActivity.class);%0A    %7D%0A%0A    public void setUp() throws Exception %7B%0A        super.setUp();%0A    %7D%0A%0A    public void tearDown() throws Exception %7B%0A%0A    %7D%0A%0A    public void testOnCreate() throws Exception %7B%0A        getActivity();%0A        onView(withText(%22Settings%22)).check(matches(isDisplayed()));%0A        onView(withText(%22Plan Push Up%22)).check(matches(isDisplayed()));%0A        onView(withText(%22Notifications%22)).check(matches(isDisplayed()));%0A    %7D%0A%0A    public void testOnPlanPushUp() throws Exception %7B%0A        getActivity();%0A        onView(withText(%22Plan Push Up%22)).perform(click());%0A%0A        onView(withText(%22Plan Push Up%22)).check(matches(isDisplayed()));%0A        onView(withText(%22Push Up mode%22)).perform(click());%0A        onView(withText(%22Push Up mode%22)).perform(click());%0A%0A        onView(withText(%22Push Up goal%22)).perform(click());%0A        onView(withInputType(InputType.TYPE_CLASS_NUMBER)).perform(clearText()).perform(typeText(%22200%22));%0A        onView(withText(%22OK%22)).perform(click());%0A%0A        onView(withText(%22Push Up goal%22)).perform(click());%0A        onView(withInputType(InputType.TYPE_CLASS_NUMBER)).perform(clearText()).perform(typeText(%2250%22));%0A        onView(withText(%22OK%22)).perform(click());%0A%0A        onView(withText(%22Push Up time (Minutes)%22)).perform(click());%0A        onView(withInputType(InputType.TYPE_CLASS_NUMBER)).perform(clearText()).perform(typeText(%2297%22));%0A        onView(withText(%22OK%22)).perform(click());%0A%0A        onView(withText(%22Push Up time (Minutes)%22)).perform(click());%0A        onView(withInputType(InputType.TYPE_CLASS_NUMBER)).perform(clearText()).perform(typeText(%225%22));%0A        onView(withText(%22OK%22)).perform(click());%0A    %7D%0A%0A    public void testNotifications() throws Exception %7B%0A        getActivity();%0A        onView(withText(%22Notifications%22)).perform(click());%0A    %7D%0A%7D

Add test for SettingsActivity class [Starts #115310041)]